I have cleared all of the cached windows credentials.
I have cleared the source tree credentials.
It continually sends invalid credentials top stash and locks my account. I cant work.
version: latest ... 188.8.131.52
POSSIBLY SOLVED:: OK. If anyone else this problem, then try going to Tools --> Options --> Git (Tab). At the bottom of the page, see the button "Update Embedded Git". Click this and it will do an update of the embedded Git version. You will see the version number change.
I then closed Source Tree and restarted it. The next update (Pushed a new tag), I did, it asked me for my credentials. All has been good since.
I do think that ATLASSIAN could do some minimum version compatibility checks on this and let the user know that it is incompatible and needs to be updated. Source Tree was telling me that I had the latest version, but this is misleading, as I only had the latest version of Source Tree but it was using an old incompatible version of embedded GIT.
Please fix this ATLASSIAN.
I add bitbucket and github accounts. Set Keys and password, set ssh to my bitbucket, I configure a lot of things, even so, SourceTree ask me for credentials, and i enter the bitbucket credentials to push to the github repository. 1 hour trying to solve this crap.
Back to GitBash
Found an answer that maybe helpful.
The only thing that worked for me was navigating to C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree and removing the passwd file.
Once this file is removed, restart SourceTree and execute a fetch or something else that requires access to the repo in question. SourceTree will then prompt you for your password, rewriting the cached credentials.
I have been locked out of my account again.
I checked the KeyChain and it has the wrong password in it, this morning it was just a single character, unrelated to my password. So it looks to me like SourceTree is sending the incorrect password to the KeyChain. Which is then used to log into my remote server and after a few attempts I get locked out.
Tried both ways, using embedded works perfectly (git version 2.31.0), using system git (BigSur 11.6, git version 2.32.0) fails completely every single time, no matter what I do. I'm using App Passwords over HTTPS with Basic login - as per Atlassian login changes in 2022.
Many thanks for the help.
I am using sourcetree with a bitbucket server to access git repository.
I was facing the authentication issue on sourcetree after I changed my password:
Deleting password file in the directory: C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree, did not work me this time. (It did work earlier)
So what I had to do is: