centos7 git永久保存密码

第一步:

git config --global user.email "your email"
git config --global user.name  "your username"
 

设置邮箱和密码

第二步:

  • git config --global credential.helper store

第三步:

git pull 一次数据用户名和密码,就永久保存了

猜你喜欢

转载自blog.csdn.net/nanshan_hzq/article/details/90476559