gogogo
管理员
管理员
  • UID25
  • 粉丝0
  • 关注0
  • 发帖数1377
阅读:1923回复:0

git pull 设置git记住用户和密码

楼主#
更多 发布于:2021-07-07 00:25

在使用https git拉取代码时,每次git pull的时候都会让输入用户名和密码
进入项目目录
git config --global credential.helper store


  
如果要清除用户名和密码
运行一下命令缓存输入的用户名和密码git config --global credential.helper wincred
清除掉缓存在git中的用户名和密码git credential-manager uninstall
游客


返回顶部