You won't be able to pull or push project code via SSH until you add an SSH key to your profile
You won't be able to pull or push project code via SSH until you add an SSH key to your profile
经网上搜索查看是SSH配置的问题,解决方案为配置好本地的SSH然后把它填写到Gitlab:
可以在命令提示符弹框中操作:
1)ssh-keygen 用于生成密钥对
2)一路空格
3)根据提示找到生成key的目录,如下
4)gitlab网站:点击账号--点击Settings--点击SSHKEYS,粘贴生成的key
5)结束,后续根据个人需要进行git操作即可。