5, branch management (branch)
master 分支(仅总监可以操作)【完整的项目】
↑
dev分支(开发操作,测试分支)【需要测试的完整的项目】
user分支(模块)【具体功能模块】
order分支
fix-user-avatar分支
fix-xxxx-xxxx 分支
Syntax:
View branch: git branch
create a branch: git branch branch name
switch branch: git checkout branch name
after creating a branch and commit, will prompt online:
branch only when just created is the same, which branch subsequent change, which branch was changed.
If the test branch iteration is complete, we need to merge the master branch to submit a request, after the merger will be two branches of the same content.