gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Improve dev ex for forked repos

Open wesharper opened this issue 2 years ago • 1 comments

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.

wesharper avatar Mar 06 '24 23:03 wesharper

Thanks for sharing!

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

Byron avatar Apr 23 '24 08:04 Byron