1.查看提交日志
git log
git log - -author=xxx
2.创建分支/切换分支
git branch V1.0
git checkout V1.0
git branch -D V1.0
//查看远程分支
git branch -a
//把本地分支提交到git服务器 分支号与冒号之间不能有空格 不然提交失败
git push origin V1.0:V1.0
3.更新/提交
git commit -m “commit log” 1.java
git push
4.分支代码 bug分支V2.0->主干开发V1.0
–V2.0-
git log
获取Version前 8位 作为 commit-id
–V1.0-
git cherry-pick commit-id