gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
https://gitbutler.com
Other
12.38k stars 486 forks source link

Improve dev ex for forked repos #3061

Open wesharper opened 6 months ago

wesharper commented 6 months ago

I am a regular contributor to a handful of open source packages. However, I'm not an official maintainer. Because of this, I need to create a fork and contribute PRs to the source repos from my fork.

Ideally, I could set my trunk to upstream/main and still push to origin/main. However, when my trunk is set to upstream, I get authentication errors when I push.

Another preferred approach would be to add a separate sync feature that automatically syncs the upstream/main branch with my trunk similar to the github UI.

Unfortunately, I can't use either approach, so my current workflow is to set the trunk to origin/main and manually sync either using the github UI or the command line. It's not the biggest deal, but it would be nice if gitbutler could recognize that there are remotes named origin and upstream and provide either sensible defaults or configurable behavior for managing and syncing remotes.

Byron commented 4 months ago

Thanks for sharing!

(#2923 also talks about this as supporting multiple remotes)