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.

Same problem here.

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.

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.

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,989 views 0 12
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