Skip to content
代码片段 群组 项目
未验证 提交 a875f04a 编辑于 作者: Sean Carroll's avatar Sean Carroll 提交者: GitLab
浏览文件

Protected branch Workflow docs

上级 ab444be1
No related branches found
No related tags found
无相关合并请求
...@@ -40,6 +40,31 @@ protected branch. ...@@ -40,6 +40,31 @@ protected branch.
- Manual setup of protected branch required for each new project - Manual setup of protected branch required for each new project
To set up a protected branch flow:
1. Start with ensuring that your default branch is protected with [default branch protections](../repository/branches/default.md).
1. If your team has multiple branches, and you would like to manage who can merge changes and who
explicitly has the option to push or force push, consider making those branches protected:
- [Manage and Protect Branches](../repository/branches/index.md#manage-and-protect-branches)
- [Protected Branches](../protected_branches.md)
1. Each change to the code comes through as a commit.
You can specify the format and security measures such as requiring SSH key signing for changes
coming into your code base with push rules:
- [Push Rules](../repository/push_rules.md)
1. To ensure that the code is reviewed and checked by the right people in your team, use:
- [Code Owners](../codeowners/index.md)
- [Merge Request approval rules](approvals/rules.md)
Also available in the Ultimate tier:
- [Status checks](status_checks.md)
- [Security Approvals](approvals/rules.md#security-approvals)
## Forking workflow ## Forking workflow
With the forking workflow, maintainers get the Maintainer role and regular With the forking workflow, maintainers get the Maintainer role and regular
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册