1、打开git bash,输入ssh-keygen -t rsa -C "youremail@sample.com",一直enter
2、将公钥(id_rsa.pub)的内容复制到gitlab的ssh里面
3、打开git bash 然后输入如下命令:
git config --global user.name “xxxx”
git config --global user.email "xxx@xxx"
1、打开git bash,输入ssh-keygen -t rsa -C "youremail@sample.com",一直enter
2、将公钥(id_rsa.pub)的内容复制到gitlab的ssh里面
3、打开git bash 然后输入如下命令:
git config --global user.name “xxxx”
git config --global user.email "xxx@xxx"