Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Anyone know what causes this error when trying to clone a bitbucket repo?: fatal: invalid branch na

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2022

My repo looks fine in Chrome on the bitbucket site.  I try to clone it with Sourcetree and I get cloned with errors.  The final statement is: 

fatal: invalid branch name: init.defaultBranch = 

I have uninstalled Sourcetree and deleted the app data, re-installed but I get the same problem.  Also, this has happed on two separate laptops so I imagine it is something with my account on Sourcetree.  Any help would be appreciated.


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events