git解决https每次输入账号密码,及配置名称邮件

141 阅读1分钟

1、git解决https每次输入账号密码:

执行命令:

git config --global credential.helper store
git pull

输入用户名密码,以后就不会再次要求用户名密码了

2、配置名称邮件

git config --global user.name "zzy"
git config -- global user.email "zzy@qq.com"