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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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