我知道它是如何从 GitLab UI ( http://gitlabdomain.com/ProjectNamespace/Project/protected_branches ) 完成的,但是有没有办法从命令行“保护”特定分支?
git gitlab
git ×1
gitlab ×1