If you are getting "fatal: Authentication failed" with a non bitbucket / github repo

I was getting "fatal: Authentication failed" when pushing to overleaf (online LaTeX collaboration)

I had entered the wrong username in the authentication box, and I couldn't make it appear again. There was no entry for overleaf in Windows Credential Store.

I tried deleting the password entry in the passwd file in the C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree, and it would display the dialog, but I couldn't change the username

The solution was to change the username in the username file in C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree

I hope this helps someone. It would be nice if there was a dialog for this.

 

 

0 comments

Comment

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

561 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