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 vote

Hi

In Sourcetree for windows the credentials for a host like AWS are actually all managed by the Git Credential Manager for Windows, https://github.com/Microsoft/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?

Hello,

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

https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases

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

647 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