rebase+merge
https://www.cnblogs.com/kidsitcn/p/5339382.html
reset+revert
https://blog.csdn.net/yxlshk/article/details/79944535
stash
https://git-scm.com/book/zh/v1/Git-%E5%B7%A5%E5%85%B7-%E5%82%A8%E8%97%8F%EF%BC%88Stashing%EF%BC%89
git stash #存储当前工作内容。与eclipse中的保存工作模板类似。
git stash save "测试stash" #存储当前工作内容,并添加注释为“测试stash”
git stash apply #应用上一次存储的工作内容
git stash apply stash@{3} #应用索引为“stash@{3}”的工作内容
git stash list #列出所有stash存储的工作内容列表