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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 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