在使用https git拉取代码时,每次git pull的时候都会让输入用户名和密码

进入项目目录

git config --global credential.helper store

 
 
如果要清除用户名和密码

运行一下命令缓存输入的用户名和密码

git config --global credential.helper wincred

清除掉缓存在git中的用户名和密码

git credential-manager uninstall

 
 
如果要清除用户名和密码

运行一下命令缓存输入的用户名和密码

git config --global credential.helper wincred

清除掉缓存在git中的用户名和密码

git credential-manager uninstall

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2021-09-29
  • 2022-01-27
  • 2021-10-26
  • 2021-05-22
  • 2022-12-23
猜你喜欢
  • 2021-04-26
  • 2021-11-06
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-08-25
相关资源
相似解决方案