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

Sourcetree wont login (2.1.10)

Ever since updating to 2.1.10 I keep getting a prompt to login to bitbucket. For a while if I changed the preferred protocol to SSH and refreshed the OAuth token it would work for a bit, then later I would get the popup again, and I would switch back to HTTPS... Now neither work. I can't push so it makes sourcetree pretty useless. Any fix for this coming?

2 answers

0 votes
Ana Retamal Atlassian Team Aug 21, 2017

Hi Aaron,  SourceTree for Windows now shares credentials with Git via the Git Credential Manager (GCM).The credentials for both are stored in the Windows Vault or Credentials Manager, the entries are prefixed with 'git:' To determine what is going on I would:

  1. Remove all existing 'git:' prefixed entries from the Windows Vault.
  2. Remove any credentials from git config files.
  3. Disable the automatic remote checking of repositories in SourceTree. Then restart SourceTree and open each repository in turn and do a fetch. This should trigger the GCM to request credentials. Entering them there shoud mean they are stored correctly. 

Did this work for you? If you're still getting prompted for a password, let us know if you're getting any error when you try to push. Also, let us know if the URL is of the form or and make sure that Tools > Options > Authentication is hosting the right password.

Best regards,


I have been trying for a week now and tried all these methods with the new Sourcetree 2.1.10. Everything was working good until the upgrade last week and nothing is working anymore. None of the steps above help at all. And I can't seem to downgrade. This is annoying!! I'm able to push and pull using command line but not SourceTree. 

My URL for Bitbucket server is:

Please help asap because we're in the middle of a critical release. Thanks.

Ana, I've removed the credentials from the windows credentials manager and it still isn't working correctly. The login window keeps popping up everytime I try to push and I can't enter my password because I login with Google. Sometimes everything works as expected but later on in the day I'll randomly get promted for my login and wont be able to continue after that until it decides to start working again.

For what its worth, I'm running 2.1.11 now...


Also, the url is in this format: 

I downgraded to the version

That's what I had to do to get it working as well. Downgraded to Works now. Should we put in an Atlassian ticket or does it already exist?

I don't know... Maybe they don't know. 

SourceTree had an update and they didn't do anything to solve.

I just turn the updates off.. And I just use version

I have the same problem. I had to revert to an older version 

Just check

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,927 views 0 12
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