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

进入项目目录

git config --global credential.helper store

如果要清除用户名和密码

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

git config --global credential.helper wincred

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

git credential-manager uninstall

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2021-12-12
  • 2022-12-23
  • 2021-11-21
  • 2022-02-08
  • 2021-10-12
  • 2021-09-09
  • 2022-12-23
相关资源
相似解决方案