I have changed my password in github.com. And now I am not availible to use Source Tree. It ask me to require my password. I require it but message appear again and again. Please describe how can i change password also in Source Tree to make it the same as on github.com?
Okay, I'm answering this because it was just SUCH a nightmare to figure this out.
Using SourceTree 220.127.116.11 on Windows, password based authentication to GitHub kept failing. After adding and delete several times and pushing and pulling via the terminal to no avail, I finally went digging in the file system knowing things were cached somewhere... This is after going View => Show Hosted Repositories and reseting my password multiple times.
I don't know exactly what did it but between clearing out:
something actually made it so I could reset my credentials.
Hope this helps someone.
I am using self hosted gitlab and having the issue of not being able to change the incorrect username.
I tried the solution provided by @Ray Crawford once but did not get it work. One week later I found this post again and gave it a try. It suddenly works!
The only different thing i did was deleting all the logins including the bitbucket (I have one). I found I could not delete the problematic one but I just tried to delete each record several times before removing the passwd and userhosts files in the AppData.
Sourcetree version: 2.1.10
This worked for me!
Today I've lost about 3-4 hour for an authentication problem. Tried more than dozen hints from many pages. Seeing so many hints and users it's obvious how fragile and troublesome this component is.
I have similar problem with authentication every month or two but untill today I had a golden solution for this (git config credential.helper store) but it stopped working.
After deleting a file <user.name>@STAuth-bitbucket.org and entering password in SourceTree now I returned to normal work! :) But 3-4 hours are not mine anymore, great :(
To store the password for a self hosted git repository, open terminal and do a
in one of your repositories. After you provided the login info it is stored in the keychain and thus available to SourceTree.
Please build this functionality directly into the SourceTree App.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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!
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