It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree "fatal: Authentication failed for..."

Mac OSX El Capitan.  SourceTree 2.4.  I cloned some remote repos a few couple of weeks ago, and have been pulling my team's updates in SourceTree with no issue.  

Unfortunately, I had to change my password on the remote system over the weekend, and now when I pull from the SourceTree toolbar, I get "fatal: Authentication failed for..." errors.

I found that if I open a Terminal window for a given repo, and do "pull <repoName>", it asks for my new password once, and then works from the Terminal from that point on.  However, it still continues to fail from within SourceTree, even after re-starting SourceTree.

I cannot seem to figure out how to make SourceTree recognize my newly-entered password from the Terminal pull, or forget my previous one and ask me for the new one.   What am I missing?

3 answers

I just answered my own question.  There is a SourceTree Application password stored in the login keychain.  Deleting that caused SourceTree to prompt me for the new password.  Not sure how I missed it the first time I searched.

thanks! this was driving me mad, and I hadnt even created a new password! not the most experienced mac user, thanks!

Like Mher Paronyan likes this

How do you delete that?

Like Mher Paronyan likes this

this helped. thank you

Like WojtaniaA likes this

To delete it

  • cmd+space and type "KeyChain Access",
  • You should find a key with the name like "gitlab.*.com Access Key for user". You can order by date modified to find it more easily.
  • Right click and delete.
Like # people like this

Awesome!! it worked. Thanks a ton

Finally, thank you.

Yes! That worked for me! I knew I was missing something.

Thank you so much it worked for me. 

Thank You so much !

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

1,636 views 0 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you