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.

 

 

2 answers

0 votes
wkh_lrp_chef_team
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!
July 1, 2019

Hi krisnanto,

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

0 votes
krisnanto
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!
January 20, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events