Commit 05fac5a6 authored by 王志文's avatar 王志文

添加git.md

parent 296c2078
#gitlab 使用规范
git 的本质是基于分支来管理代码。任何对master分支对修改都需要创建分支,然后通过提交pull request 都方式来合并代码。所以master分支对任何人不应该有写权限,包括管理员。总结来说,必须要遵循对原则是:
- master 分支任何人都没有权限提交代码
- 通过pr 提交代码,由管理员审核代码合并进入主干。
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment