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 ... 2.4.8.0
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.
Hi Aaron! Once you confirm this solved your issue, please feel free to mark your solution as accepted so other users can find it more easily!
Have good day :)
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solved the issue! Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David S Deleting the password file worked, thank you for finally saving me. How on earth would I have figured that its stored there and not anywhere in Preferences in the app itself, if not for stumbling across this comment, i dont know. it is maddening
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
David S thank you!
I was struggling for a week, trying to make SourceTree somehow ask for my credentials...
I was generating new key pairs, asking my ISP to investigate server log, but this simple step did the trick.
Saved my life :))))))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David S Everyone should like and thank David.
I saw a lot of time wasting answers on this issue. I wish I have a power to wipe those answers of the internet and leave David's answer. Because of David, I signed up to Atlassian for the first time to say thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you David S, that solved my problem.
Hey Atlassian, I shouldn't have to delete some hidden file to update my password!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David S Deleting the password file worked, thank you very much for your answer I was debating reinstalling sourcetree but this worked like a charm!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks mate. Solved my problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[deleted] It resolve my problem as well. Thumbs up!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, even I have tried same steps but still i am facing the same issue, please can anyone help me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On a Mac pressing the Preferences -> Git -> Reset to Embedded Git, might have helped, but I also searched for SourceTree in the KeyChain app and deleted the saved password entry. Remember to also close and reopen SourceTree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had changed my password and sourcetree kept using the wrong password and didn't let me enter a new one. Resetting to embedded git or using system git changed nothing, what worked was to delete the password from the mac keychain. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"...pressing the Preferences -> Git -> Reset to Embedded Git"
I got it working just by doing the above. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When setting the password.
It maybe best to create a Personal Access Token.
That way when your password changes, you don't need to go through these steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks this answer worked for me finally.
What a waste of time that was.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved also for me on windows 11
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tools
Options
Authentication
deleted all accounts
then
added my username and password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.