1.设置name和email
git config --global user.name "yilei"
git config --global user.email 87119538@qq.com
2.保存密码
git config --global credential.helper storegit
1.设置name和email工具
2.保存密码blog
点击编辑全局.git/config 弹出文本编器,在后面加入it
[credential]
helper = storeemail