2017-09-22 227 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 

那麼接下來的推會提示您輸入憑據和存儲他們。

相關問題