0
点赞
收藏
分享

微信扫一扫

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


产生:

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

$ 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 条评论