Git克隆命令行https授权错误

时间:2017-04-06 08:19:49

标签: git authentication github

我已经安装了git命令行。 每次我尝试克隆回购时,都会收到身份验证错误。

致命:身份验证失败......

它适用于我的Mac但不适用于我的Windows笔记本电脑。有没有人有想法?

3 个答案:

答案 0 :(得分:0)

应该在Windows凭据管理器上保存git auth用户名和密码 enter image description here

答案 1 :(得分:0)

您可以在命令行中使用代码

git clone https://username@example.com/scm/ifrs/scheduleprocess.git

git clone https://username:password@example.com/scm/ifrs/scheduleprocess.git

答案 2 :(得分:0)

我有同样的错误。转到控制面板->用户帐户->凭据管理器 并编辑git凭证。

enter image description here

相关问题