1.git标签管理
1.1查看所有标签
git tag
1.2创建标签testTag并指定提交信息
git tag -a testTag -m "commit"
1.3删除testTag标签
git tag -d testTag
1.4标签testTag发布
git push origin testTag
2.git分支管理
2.1查看分支
git branch
2.2创建分支 testBranch,再查看分支
git branch testBranch
git branch
2.3切换到分支testBranch,再查看分支
git checkout testBranch
git branch
2.4合并分支testBranch
先切换到master分支上
git checkout master
合并分支testBranch
git merge testBranch
2.5删除分支testBranch
git branch -d testBranch