git报错_you are not allowed to push code to protected branches on this project

问题描述

今天在提交代码的时候,由于使用的是新库,写完代码后,进行push,发现报错

you are not allowed to push code to protected branches on this project

发现问题是创建这个项目的童鞋,分支设了保护,才推送不上去。

原文地址:https://www.cnblogs.com/zhenghengbin/p/11090972.html