0》右键 git bash here
1》ssh-keygen -t rsa -C 邮箱 多次回车,生成公私密匙2》git config --global user.name "账号"3》git config --global user.email "邮箱"4》把生成的公匙添加到gitlab中的settings下的sshkey中。
git中配置全局信息
原文:https://www.cnblogs.com/mxggx/p/14940067.html