master就是系统默认创建的分支
-
creating branch : git branch branch-name
-
switching branch: git checkout branch-name
-
showing branch: git branch
-
creating and switching branch: git checkout -b branch-name
-
fast forward merging another branch into current baranch:git merge branch-name
tip: When the two branch both have new commit,
-
deleting a branch: git branch -d branch-name