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

geometrikal September 5, 2017

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.

 

 

1 comment

krisnanto January 20, 2019

Hi where is username file ? I don't see the file in sourceTree directory

wkh_lrp_chef_team July 1, 2019

Hi krisnanto,

It is file named "userhosts" in the same folder.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events