打开gitbash执行即可

git config --global credential.helper store

长期储存密码,因为git默认是不储存密码的,不执行这条命令的话每次更新代码,或者提交代码都需要输入密码

 

执行上面的命令会在.gitconfig 文件中添加如下内容, 所以也可以直接编辑.gitconfig文件添加以下内容

[credential]    
    helper = store

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-09-02
  • 2022-12-23
  • 2021-07-31
猜你喜欢
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案