01比较不同分支之间差了哪些代码改动
02查看不同版本之间的代码差异具体是什么
03将暂存区中的多个功能代码分成多次提交
04feature分支开发到一半时切换到bugfix分支
05对本地不规范的提交历史进行修改和调整
06对本地刚做出的修改、暂存和提交进行撤回
07远程和本地同时撤回分支合并操作
08二分查找哪一次提交引入了线上bug
09让多个项目共享一个子项目的代码修改权利
09团队拆分迁移项目代码时简化提交历史
10将新版本的功能放到上一个版本提前上线
11基于GitLab的代码权限控制以及强制代码审查
12-Git删除所有的历史记录
1.Checkout git checkout --orphan latest_branch2. Add all the files git add -A3. Commit the changes git commit -am "commit message"4. Delete the branch git branch -D master5.Rename the current branch to master git branch -m master6.Finally, force update your repository git push -f origin master