【问题标题】:Removal of a GIT repo's remote password [duplicate]删除 GIT 存储库的远程密码 [重复]
【发布时间】:2018-07-27 23:36:57
【问题描述】:

如何取消设置与我的 GIT 存储库的 HTTPS 远程关联的密码?它已经在某个地方记住了它,我宁愿在每次推送时重新输入它。

【问题讨论】:

  • git config credential.helper 说什么?
  • 返回字符串“manager”。
  • 那么看起来您正在使用这个:github.com/Microsoft/Git-Credential-Manager-for-Windows - 请尝试检查这些文档,看看您是否正在使用它以及如何使用它。
  • 如果其他人遵循重复问题中的答案(编辑 .gitconfig 文件),但在 repo 中创建新文件时开始出现 Java GitConfigInvalid 异常(无效的 .gitconfig 文件),请记住有一个执行 $git config --global --edit 后 .gitconfig 末尾的空行

标签: git


【解决方案1】:

见“Use Windows Credential Store for Git to remember your login for TFS, Bitbucket and such

由于您的 credential.helper 是“经理”,您只需 open the Windows Credential Manager 并删除与远程仓库关联的凭据。

【讨论】:

    猜你喜欢
    • 2012-11-28
    • 2013-05-11
    • 2013-02-21
    • 2012-01-03
    • 2011-01-01
    • 1970-01-01
    • 2017-08-15
    • 2013-02-10
    • 2014-11-19
    相关资源
    最近更新 更多