Getting “fatal: Authentication failed” -error when sending git commands in Windows 10

后端 未结 9 1170
孤独总比滥情好
孤独总比滥情好 2021-01-30 01:40

After updating domain password, accessing git-repo is no longer possible. VS Code and Source Tree as well as Visual Studio are returning the following error message on pull, pus

9条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 02:03

    I had the same issue when Cloning the repository via Bash/VS Code with "fatal:Authentication failed". I used SSH Key authentication instead to connect my repository following the article: [https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops&tabs=current-page][1] I didn't get any errors after with any bash commands!

    Above solution works only if your machine can SSH.

提交回复
热议问题