出现如下错误:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
问题诊断:
没有自己Gitlab没有添加有效密钥,本地与Gitlab连接失败
解决方法:
windows下打开 Git Bash 输入命令
cat ~/.ssh/id_rsa.pub(系统已经有密钥)
ssh-keygen -t rsa -C "自己账号邮箱"(生成新的SSH密钥)
gitlab上找添加密钥位置(1 2 3 步)
复制、添加密钥
参考:https://blog.csdn.net/u011925641/article/details/79897517