取消revert commit

2020-03-27  本文已影响0人  琪一可

commit之后失手revert commit
找回代码:

git reflog
找到提交的版本

git reset --hard XXXXXX
就可以找回来啦

上一篇 下一篇

猜你喜欢

热点阅读