How to prevent sourcetree from storing remote credentials?

We're using sourcetree on shared windows machines where one of several people could be making commits and pushes. Once someone attempts to push to a local bitbucket server, his credentials get saved in sourcetree and the next push brings up the credential window with the username field greyed out. How can I prevent source tree from doing this and have sourcetree prompt for both username and password each time a push is attempted?

1 answer

0 votes

Hi Justin, if you're all sharing the same machine it would be advisable that each of you uses a different user to keep your work separated. If you're all working on the same local files and someone messes up something by mistake, there won't be more copies of it.

With that said, Sourcetree doesn't provide a multi-user option, so you'll need to remove your credentials from Sourcetree everytime you leave the machine. To remove them you'll need to go to the Accounts menu and delete your details from there. 

Let us know if you have any questions!



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

1,095 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