Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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.

 

 

1 comment

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

Hi krisnanto,

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

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,250 views 4 8
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