Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Cannot clone repo from bitbucket - get invalid username error

I installed fresh sourcetree onto a new PC

The install process validated the credentials ok and I can see a list of my remote (bitbucket) repose in the remote source list in sourcetree.

When I attempt to clone a repo I get following error in sourcetree.


Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote
Error: remote: Invalid username or password
fatal: Authentication failed for ''



2 answers

1 accepted

0 votes
Answer accepted

As always, it seems like they haven't fixed it

Was certainly frustrating.

Had to manually navigate around the appdata folders and remove all Atlassian related, uninstall the app and remove folder in Program Files. Then changed online password and finally reinstalled and it worked. The last machine I installed on asked me to manually log into bitbucket during install and that worked but this install automatically applied credentials and stated they were ok, but they were not. Wasted a lot of time with this, Wouldn't it be great if the install program actually worked first time on a brand new Windows 10 install.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,052 views 5 13
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