天天看点

git You are not allowed to push code to protected branches on this project

最近开始了一个新项目,提交代码的时候出现了点问题

git You are not allowed to push code to protected branches on this project
意思大概是不允许你往被保护的分支上提交代码,解决的办法也很简单,去找项目创建人告诉他将你的gitlab或者github账户添加到被保护的分支的开发人员列表内即可,这不是我们操作的问题