# 保存当前状态
git stash
# 查看当前所有状态
git stash list
# 恢复第0个暂存
git stash pop
# 删除某个状态 id 是数字 12345.....
git drop id
注意
git revert 31fcbe3bfc178556f772b905fd9628e7c13c3b06
如果:提示 is a merge but no -m option was given
这是因为你revert的那个commit是一个merge commit,它有两个parent, Git不知道base是选哪个