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 votes


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
Community showcase
Published Oct 23, 2018 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...

966 views 4 2
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