GitLab push远端,出现错误提示:Push failed: Failed with error: fatal: Could not read from remote repository.
原因: 1,账号无push的权限。
2,请添加一个正确的sshKey 添加方法:
ssh-keygen -t rsa -C "账号"
cat ~/.ssh/id_rsa.pub
将ssh保存到 GitLab即可
2024-03-21 11:05:16
GitLab push远端,出现错误提示:Push failed: Failed with error: fatal: Could not read from remote repository.
原因: 1,账号无push的权限。
2,请添加一个正确的sshKey 添加方法:
ssh-keygen -t rsa -C "账号"
cat ~/.ssh/id_rsa.pub
将ssh保存到 GitLab即可