old username makes clone URL invalid

In BitBucket, my clone URL uses my new username.  In Sourcetree, I'm logged in as my new user name, with the new username as the default.  However, the older user name still exist as a 'resting' password.  

When I use the BitBucket clone URL, it says "This is not a valid source path/URL".  More details: "Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile."


I haven't been able to do a hard uninstall of Sourcetree.   It still retains my old username, which I believe is causing this issue.  

1 answer

0 vote


Sourcetree stores its credentials in Windows Credential Manager, or Vault. You can clear out all credentials by deleting any prefixed by:

'git:' for git repos
'hg:' for mercurial repos
'Sourcetree:' for REST apis

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 ...

762 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