2017-09-22 226 views
1

我执行了git config --system --unset credential.helpergit config --global --unset credential.helper,并通过git config --system --editgit config --global --edit手动进入,并且所有配置都为空(只是名称和电子邮件地址)。我也删除了Windows Credential Manager中的所有条目,并重新启动了我的电脑。Git SCM/Bash在Windows上不提示凭据

每当我尝试克隆时,都没有提示输入凭据。结果,我收到了403条禁止消息。其他人使用相同的命令+ url成功克隆。协议是http到内部服务器。我不明白为什么Git在配置没有任何设置时没有提示凭据。我如何让Git通过凭证提示我?

回答

0

删除条目在凭据管理器是好的,但你仍然需要恢复证书帮手,如果你想看到任何提示:

git config --global credential.helper manager 

那么接下来的推会提示您输入凭据和存储他们。

相关问题