如何停止使用rsa键进行git pull?

时间:2017-02-16 16:05:44

标签: git credentials private-key git-pull

使用密钥克隆了存储库,但现在我需要使用用户和密码验证进行拉取,并且执行git pull不会要求提供凭据。

如何强制拉取问我凭据?

1 个答案:

答案 0 :(得分:0)

我找到了解决方案:

git remote set-url origin https://github.com/USERNAME/OTHERREPOSITORY.git

在这里找到它: https://help.github.com/articles/changing-a-remote-s-url/