取消revert commit 2020-03-27 本文已影响0人 琪一可 commit之后失手revert commit 找回代码: git reflog 找到提交的版本 git reset --hard XXXXXX 就可以找回来啦