How to make source tree not auto save authentications?

I am using Source Tree and AWS Code Commit, and I keep getting 403 errors because Source Tree is saving my "user name" and "password." I was hoping there was a way to turn off the auto save functionality.

1 answer

0 votes


In Sourcetree for windows the credentials for a host like AWS are actually all managed by the Git Credential Manager for Windows,

I'm assuming you are being shown a grey popup dialog asking for your username/password. It will save these credentials to the Windows Credential Manager and re-use them for subsequent requests.

I'm not clear why you want to disable this behaviour?


Thanks for the response.

That is exactly what is happening. It saves a username and password even when I hit cancel. I also do not want this to happen because I am using AWS CLI and it auto fills that information. So every time it saves I have to go into options and delete the saved auth before I can push/pull/etc.

Can you check the version of the GCM you are running?

>git credential-manager version

If it is < 1.12.0 (this version ships with Sourcetree 2.3.1) then you should download and install the latest version

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