The "Push changes immediately to" checkbox gives me the option to push my commit immediately, but it offers me the wrong remote.
Is it possible to configure this option to use a specific remote?
My current branch is origin/master, the option offers me the demo/master branch. (my repo have two remotes: demo and origin, both have master branch)
Thanks in advance!
This will always work for your 'origin' remote. You could change your origin by going into your repository settings and changing the names of the remotes to switch to the remote you always want to push to. Generally this is the default because that's the remote you usually push to.
I'm having the same issue. The remote branch that's shown here is stuck on the wrong remote branch "tony.t/master" when the branch is tracking "origin/master". I've tried set the branch to track different remote branches, and even deleted and recreated the branch but it stays stuck on "tony.t/master".
My `~/.gitconfig` has `push.default = matching`, which matches the setting in SourceTree prefs. I can confirm that running `git push` on the command line does push to the correct remote branch, as opposed to SourceTree, which doesn't.
Interestingly, the prefs dialog doesn't work for me. When I open it it can't be closed. Even after restarting and closing all the open windows. Maybe the prefs need to be cleared? I tried trashing `~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist` but didn't help.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs