sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
1.15k stars 112 forks source link

[FEATURE] Allow changing of tracking branch on push #142

Closed EreMaijala closed 4 months ago

EreMaijala commented 4 months ago

It would be nice if there was an option in the Push dialog to set tracking to the newly created branch when pushing to new branch. Often the new branch would be the target of further commits as well, and this would save one from manually changing the tracking branch after push, which can be quite slow when there are a lot of remotes and branches.

love-linger commented 4 months ago

You can try this build from https://github.com/sourcegit-scm/sourcegit/actions/runs/9232641346 to test this feature

EreMaijala commented 4 months ago

@love-linger Awesome, thanks! Seems to work great. :) Perhaps I'd change the English text to Set as tracking branch to align it with the style of the other options, but that's just a nitpick.