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

This widget could not be displayed.

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!

Regards,

Ana

Suggest an answer

Log in or Sign up to answer
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...

862 views 2 3
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