GitLab 是一个用于仓库管理系统的开源项目。在新建完项目后设置了多个分支却发现其他人无法提交到分支里面这个是怎么回事呢!
git.exe push --progress "origin" cwj:cwj Counting objects: 10, done. Delta compression using up to 4 threads. Compressing objects: 100% (9/9), done. Writing objects: 100% (10/10), 931 bytes | 0 bytes/s, done. Total 10 (delta 6), reused 0 (delta 0) remote: GitLab: You are not allowed to push code to this project. To xxx ! [remote rejected] cwj -> cwj (pre-receive hook declined) error: failed to push some refs to 'xxxx'
提示如上这个
其实解决很简单 只需要去项目配置即可
选择好用户添加对应角色
关键字词: