【问题标题】:How do I stop using rsa key for git pull?如何停止使用 rsa 密钥进行 git pull?
【发布时间】:2017-02-16 16:05:43
【问题描述】:

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

如何强制拉取我的凭据?

【问题讨论】:

    标签: git credentials private-key git-pull


    【解决方案1】:

    我找到了解决办法:

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

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

    【讨论】:

      猜你喜欢
      • 2011-08-16
      • 2012-05-07
      • 2012-07-13
      • 1970-01-01
      • 2012-09-06
      • 2017-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多