1)安装Git客户端:双击运行Git-2.29.2.2-64-bit.exe文件,直接下一步默认安装:
PS:Git客户端下载地址:https://git-scm.com/download/
2)安装完成运行Git Bash,输入下列命令:
git config --global user.name "UserName"
git config --global user.email "UserEmail"
ssh-keygen -t rsa -C "UserEmail"
3)目录C:\Users\Administrator\.ssh下,找到生成的id_rsa.pub公钥:
4)将id_rsa.pub公钥拷贝到GitLab网页中的SSH密钥中,绑定账号: