当前位置:   article > 正文

git清除凭证

git config --system --unset credential.helper
1 . 清除凭证助手
  1. git config --system --unset credential.helper
  2. # 除了system外,还有global、local等范围
  3. # 使用 git config --list 命令这是展示配置属性,只要不存在credential.helper表示清除成功
2. 配置凭证助手
  1. git config --global credential.helper store
  2. # 清除成功后,每次远程操作pull/push/fetch时需要手动输入密码啊。
  3. # 执行这个命令,开启凭证助手,一次输入密码认证成功后会被存储下来。
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/787688
推荐阅读
相关标签
  

闽ICP备14008679号