Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I completely reset credentials in Sourctree?

Steven Schneider
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2025

I'm experiencing an ongoing issue with Sourcetree.  Recently I was required to change my domain password per company requirements.  This affected - among other things - my login to our local github.  Naturally when I tried to pull from master using Sourcetree, it returned an authentication error.

I went to Tools -> Options -> Authentication Tab and updated my account details to use my new password.  When tested on the Authentication Tab it indicated success.  When I tried my next pull, it again failed with an authentication error.  

I have since tried completely deleting all accounts/credentials and adding them fresh.  Every time I've done this the Authentication Tab indicates that the new credentials are correct, but I still get an authentication error when I try to pull from remote.

Thanks!

1 answer

0 votes
Davide Bacchi March 4, 2025

I usually run a terminal doing a git fetch, it will prompt me for new credentials.

Also check in the windows' credential manager if some are also stored there.

Steven Schneider
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2025

I just tried the following:

  • Removed all credentials from Sourcetree
  • Removed all related credentials from Windows Credential Manager
  • Opened Sourcetree and tried a fetch
    • Got an error, authentication failed
    • I was _not_ prompted for credentails
  • Went into Tools -> Options -> Authentication Tab
  • Added credentials for the GitHub Enterprise server
  • Clicked "Refresh Password" and entered my password
  • Got the Green success checkmark
  • Tried a fetch
    • Got an error, authentication failed
    • I was not prompted for credentials
  • Opened the terminal from Sourcetree
  • Tried a fetch from the terminal
    • Was prompted for username and password
    • Fetch was successful

I would really appreciate some input from Atlassian about this, or at least acknowledge that it's a bug and being worked on.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events