![]() Restart SourceTree and execute a command (e.g. Now the private key needs to be set in the SSH Client Configuration section.Īfter that I was able to clone the repos using the SSH link. Navigate to C:UsersUSERNAMEAppDataLocalAtlassianSourceTree and delete (or rename) the file named passwd. Attempt a push, wait for a popup asking for username/password, enter same username as used to create the app password and paste the app password. Delete 'C:\Users\\AppData\Local\Atlassian\SourceTree\passwd'.Now the public key needs to be added to GitHub. Manually delete all credentials in Sourcetree (Tools -> Options -> Authentication). I generated a key, saved the private key to a file and copied the public key to the clipboard. You can find it in the installation folder.Ĭ:\Users\da\AppData\Local\SourceTree\app-3.4.6\tools\putty In order to do that, you have to create a SSH key pair. ![]() Q: Why is git.exe failing to authenticate after linking/unlinking your Azure DevOps account from. The solutionĪfter I have been pissed off enough, I decided to use SSH. Q: Why am always prompted for my username and password. I also tried to set up the account as OAuth, this seemed to work but resulted in the same error message. It is often stated to use the token as password, however, this did not work. If you don't use Sourcetree's accounts then Git may well prompt you directly using the GCM, again any credentials that you enter. any credentials the Sourcetree uses for interacting git git with the remote host are essentially managed by Git and the Git Credential Manager (GCM). I tried a lot of stuff I found on the internet. We don't have any direct experience of AD TFS, but. Please use a personal access token instead. Looking in the details, the usage of a personal access token is the way to go now.Įrror: remote: Support for password authentication was removed on August 13, 2021. SourceTree would just tell me that the URL is not valid. The issue started when I wanted to clone a repo. When I use SourceTree to manage my Git repositories the account info is. Interesting enough, the basic authentication was still working on my other computer. Learn more about push, remote, github, repository, my, username, password. ![]() I searched the internet and found a lot of other people struggling with the same error message. Instead, there was always the error message that I need to use a personal access token. Git remote set-url origin this helps solving your issue.On a new computer, I was not able to clone and access my GitHub projects with SourceTree. I found on the internet that using SSH instead of HTTPS as repository origin worked for some so you can try that out redirect your local repository to SSH something like this command should work: The best solution is to Uninstall your local Git and install it again (that fixed my problem somehow and i had 0 data loss with it and my repositories in both Git
0 Comments
Leave a Reply. |