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

0 votes
Accepted answer

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 Oct 23, 2018 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...

845 views 3 2
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