Files
GitGuide/docs/platform/[GitLab]受保护分支.md
2021-03-18 20:08:24 +08:00

536 B

[GitLab]受保护分支

强制上传代码到Gitlab仓库的dev分支出错,提示如下:

GitLab: You are not allowed to force push code to a protected branch on this project

参考:解决 GitLab: You are not allowed to force push code to a protected branch on this project问题

是由于分支保护的原因,需要进入仓库setting -> Repository -> Protected Branches

允许dev分支能够强制推送