I hope this helps someone it’s crazy frustrating. At this point you can copy the new ssh key and add a new key on the bitbucket settings page. You have to click the drop down menu for ssh or https and then either toggle it from https or just click ssh again and you’ll see the save button enable. Once source tree has generated a new key the save option is still greyed out. It will ask for a pass phrase which can be whatever and will never ask for it again and then sometimes brings up another window where you’ll have to type your atlassian password. ![]() Hold option to change the button (where copy to clipboard usually is) to show generate new bit bucket key, with option held click that new button. Then in sourcree accounts it reverts to another. The way I do this is by searching for a folder in finder (shift + command + g) ~/.ssh/ and delete the bitbucket files. Then, you just commit the changes and check files on Github. Go to top bar Repository Git LFS Initialise Repository. On my Mac for the past 3 or 4 weeks I have had to reset my. Connect a empty local repository with your Github repository. Then I asked my credentials and it all suddenly worked again, creating a new passwd file. ![]() I renamed the file C:\Users\USER\AppData\Local\Atlassian\SourceTree\passwd. But I did not have other installation files.įinally I found this post which saved my day, after hours of frustration. I was thinking of reinstalling an old version of Sourcetree, assuming some automatic update had messed things up.After which they SEEMED to be copied from the ones checked in Visual Studio. Why are there 2 right away with a single repository anyway? Resulting in a bunch of saved passwords with different names. I suddenly had authentication problems while contacting a remote git repository from Sourcetree, possible initiated by a password change on Windows.Ĭontacting over a web interface and from Visual Studio did WORK.īut trying all sorts things within Sourcetree did NOT change a damn thing. So here we are in 2022, and these problem are still present! I might have entered the wrong password, but didn't see any problems at that time (I haven't pushed/pulled since then, so wouldn't have seen any problems until today). I'm not sure why it stopped working (I haven't changed my VSTS password and all my private access tokens are still valid), but I seem to recall an odd password box that popped up a week or so ago that I believe came from SourceTree. origin server is Visual Studio Team Services I saw a similar question that mentioned " There is a SourceTree Application password stored in the login keychain." But I have no idea what the login keychain is or how I can fix it in SourceTree. ![]() I've updated my Git username every place I've been able to see something that resembles a username, I've gone to Tools > Options > Authentication > and set the password (which is a private access token). To do this I went to my github account page Settings > Developer Settings > Personal access tokens and created a new token. However, nothing I've tried will allow me to use the push/pull buttons in SourceTree. 2 Answers Sorted by: 4 So the issue was I was giving it my actual Github account password, and what it is looking for is a Personal Access Token created for my account. The Git terminal from SourceTree asks for my username/password and, when I enter it, it works correctly (I'm able to do a push/pull anyway). This is a terrible user experience still.In SourceTree, I'm getting the "fatal: Authentication failed for." error when I try to Push/Pull from origin. (even more yay!)Įvery time I install Source Tree, the security configuration appears to get more and more painful. I will just go along with this counterintuitiveness.Īfter these steps - Instead of popping up multiple Github Logins, I just got the one (yay!) and was then asked for 2FA, and everything worked. ![]() I tested going back to EMBEDDED and had the same issue as before. I found the thread you linked to useful, but I had to perform both options to get it to work.Ģ) In SourceTree in the Tools/Options/Git Config section, I clicked on "Use System Git"Ĥ) I unzipped it and copied to the files to "C:\Users\%USERNAME%\AppData\Local\SourceTree-Settings\beta\git_local\mingw32\libexec\git-core"Ī) I found the reference to 'beta' confusing (I had also tried the latest SourceTree Beta to resolve this issue - to no avail) but went along with it.ī) I found it confusing that by setting git to be SYSTEM and not EMBEDDED that updating what appears to be the EMBEDDED git files worked.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |