Sourcetree not honoring Stash default branch?

I have set up a repository in Stash that has the default branch set to 'develop'. When I git clone this using the command line in Linux, I get the repository cloned with branch 'develop' set. When I try the same thing from SourceTree, I get the clone with branch 'master' set.

If I try the clone using the terminal to MINGW32, I get the master branch as well.

Is this a limitation of not being on the 1.9 git release?

1 answer

1 accepted

This widget could not be displayed.

Installed the beta version of the msysgit 1.9.0 release. Cloned repository and got the develop branch. Looks like 1.8.3 vs 1.9.0 functionality issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you