GitLab: You are not allowed to push code to this project.

阅读 88

2022-10-28


产生:

在提交项目时,发现一直提示没有被允许提交代码。

$ git push origin master
> GitLab: You are not allowed to push code to this project.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

原因:

在git上建项目的时候,你只有访客的权限(可以克隆,查看项目),但是不可以提交代码的。如下图:

GitLab: You are not allowed to push code to this project._提交代码

解决办法:

让项目的管理员或者创建者将你的权限修改成Maintainer

GitLab: You are not allowed to push code to this project._git_02

精彩评论(0)

0 0 举报