I'm using sourcetree1.8.1 on mac osx10.9.1.
Once I push commits to "forces" branch, and I remove remote branch "forces".
But sourcetree suggests "forces" branch repeatedly.
Is it cache? How can I remove that?
When I commit code with a option "Push commits immediately to: origin", commits are always going to "forces".
But it has only mater branch.
How can I remove "forces" auto selection?
It seems to be old problem, but have the same issue here, with 2.5.1 version. I grepped my .git directory for "forces" string, with no luck. Any other idea?
In the root of your repository is a hidden .git folder. Inside is a text file named "config" that should list all of your local branches and the remote ("remote") and branch ("merge") it is associated with. If your "forces" branch is not listed there, then SourceTree is probably caching something like you suspect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally, I renamed local branch name "master" to "master2", and changed git>Push branch to "upstream".
Now when pushing master2 sourcetree set default push branch "master" correctly.
But when I renamed local branch name to "master" again, it suggest "forces".
I think sourcetree has invalid cache information inside somewhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you right click a local branch in the main window, you can switch which remote branch is being tracked by that local branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried it, but it doesn't work.
It still change remote branch to "forces" automatically.
When the push dialog pops up, I see a rolling circle that might search matching branch name for a second, and it changes branch name to "forces".
When using console, "git push" make codes goes to "origin/master", and I think sourcetree doing something inside with cache like things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.