Gitlab Cloud:无法取消保护我拥有的项目中的分支
Gitlab Cloud: Can't unprotect branch in project I own
我惊讶地发现我无法强制推送到我在 GitLab 上拥有的项目的 master
分支。
此外,网络 UI 似乎没有办法取消对分支的保护。
你会如何解决这个问题?
这似乎与 issue 8361
相似
在文档中明确显示受保护的分支权限
It was not very clear that not even the owner cannot force push or remove protected branches.
该提交的作者 (Ciro Santilli - cirosantilli
) 添加:
To me at least we could have the master branch not be protected by default, it's very annoying.
As of 7.4, the default branch is protected by default.
I'm sure that's great for many organisations who work that way, but now I have to unprotect the default branch every time a new project is added.
I'd love to see a checkbox or setting somewhere that allows me to turn this behaviour on or off.
最后一个 link 包括评论:
You can unprotect the branch under project settings.
原来这是 Firefox 中的一个错误。我的屏幕分辨率很低,FF 切断了 "Protected Branch" 选项卡。这适用于 IE 11 (!!!!)
https://gitlab.com/gitlab-org/gitlab-ce/issues/980
解决方法:使用完整模式(按 F11)
您可以在设置 -> 存储库 -> 受保护的分支中保护和取消保护分支
我惊讶地发现我无法强制推送到我在 GitLab 上拥有的项目的 master
分支。
此外,网络 UI 似乎没有办法取消对分支的保护。
你会如何解决这个问题?
这似乎与 issue 8361
相似在文档中明确显示受保护的分支权限
It was not very clear that not even the owner cannot force push or remove protected branches.
该提交的作者 (Ciro Santilli - cirosantilli
) 添加:
To me at least we could have the master branch not be protected by default, it's very annoying.
As of 7.4, the default branch is protected by default.
I'm sure that's great for many organisations who work that way, but now I have to unprotect the default branch every time a new project is added.
I'd love to see a checkbox or setting somewhere that allows me to turn this behaviour on or off.
最后一个 link 包括评论:
You can unprotect the branch under project settings.
原来这是 Firefox 中的一个错误。我的屏幕分辨率很低,FF 切断了 "Protected Branch" 选项卡。这适用于 IE 11 (!!!!)
https://gitlab.com/gitlab-org/gitlab-ce/issues/980
解决方法:使用完整模式(按 F11)
您可以在设置 -> 存储库 -> 受保护的分支中保护和取消保护分支