Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

After upgrading SourceTree, the Push dialog no longer shows branch mappings

After upgrading SourceTree by uninstalling the old version, installing the latest downloadable version, then accepting the auto-upgrade to v3.2.6, the push dialog box no longer shows remote branches for any repository. I've tried closing a repository and reopening it in SourceTree (by closing the tab, reopening the folder), which did not help. The git config still contains the correct configurations, as I can push from bash or from Visual Studio Code. How can SourceTree be made to display the branches in the push dialog box?

SourceTree v 3.2.6


4 answers

In my case it was caused by an older version of git (prior to 2.13.0) not understanding the --format option to git branch command. Upgrading to Git 2.23.0 solved the problem.

Thank you for posting this.  Upgrading from my pre-2.13.0 version of Git solved this problem for me.

Thank you! Upgrading Git solved the problem for me.

I'm also experiencing the same problem. Using the command line for pushing for now.

Not for me. I'm on git version

I can only suggest to follow Mike's instructions in on how to find out what the output is of the git command used in the GetBranchesForPush entry in the Process Viewer of SourceTree. Hopefully that will give you a clue what is going wrong for you.

I'm experiencing this same issue.  For now I'm pushing from the cmd line.  The push is properly reflected in the GUI when the repo is refreshed.

Same problem here.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,187 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you