In the organization that I work for, everyone has their own fork for each project, and every contribution must go through the pull request workflow. I frequently track branches from other remotes, but I never want to push to them. Is there a way to make the Sublime Merge
client push to origin
by default, rather than the designated upstream
branch?
This is how I’ve traditionally done this via command line, where upstream
belongs to the organization, and origin
is my fork…
git fetch upstream
git checkout -b my_branch upstream/some_other_branch
git push origin my_branch