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

Sourcetree keeps asking for wrong account password

Ryan Burnham February 21, 2018

So i had to change the primary account i use for bitbucket because of this issue


But now sourcetree keeps asking my for the password of my old account when ever i try to do anything with my git repo hosted on bitbucket. If i go to Tools > Options > Authentication. i see the correct new account only. (at first i wasn't able to delete my old account from here but i found out that you can remove it from the Windows Credentials Manager). Also i wasn't able to use basic auth due to this bug
So i had to use oauth for the new account. 

But now it keeps prompting me to enter the password of my old account. How can i fix this?

2 answers

1 accepted

0 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2018


Can you check the remote URLs you are using for your repositories, do they contain the old username?

If do you will need to replace them to use URLs with your new username.

Ryan Burnham February 22, 2018

Thanks, that was it. I didn't think to check for that. 

Patrick Cloosterman September 21, 2018

I have the same problem. I only have 1 project opened in sourcetree. The url is fine. Still it complains about an account I used months ago.

evancamilleri September 9, 2020

I have the same problem.  The url is fine too.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events