Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
article
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王志文
article
Commits
05fac5a6
Commit
05fac5a6
authored
Nov 29, 2018
by
王志文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加git.md
parent
296c2078
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
git.md
git.md
+8
-0
No files found.
git.md
0 → 100644
View file @
05fac5a6
#gitlab 使用规范
git 的本质是基于分支来管理代码。任何对master分支对修改都需要创建分支,然后通过提交pull request 都方式来合并代码。所以master分支对任何人不应该有写权限,包括管理员。总结来说,必须要遵循对原则是:
-
master 分支任何人都没有权限提交代码
-
通过pr 提交代码,由管理员审核代码合并进入主干。
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment