github设置分支push权限


1. 管理员身份登录GitHub,找到项目
2. Settings-->Branches-->Protected branches--->Choose a branch... ,选择需要保护的分支,然后点击edit按钮,
3. Branch protection for 所选的分支名 --> 勾选Restrict who can push to this branch People and teams with push access
   若不选择任何人,则任何人都没有push代码到该分支的权限。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM