sh pop last commit

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh pop last commit相关的知识,希望对你有一定的参考价值。

# with changes to become unstaged
git reset HEAD~

# to blow away commit and changes
git reset --hard HEAD~


# http://stackoverflow.com/questions/927358/how-do-you-undo-the-last-commit

以上是关于sh pop last commit的主要内容,如果未能解决你的问题,请参考以下文章

Amend Last Commit选项使用注意点

How to check the last commit is matched with version

informix中隔离级别为last committed 时的锁等待机制???

[Git] Undo my last commit and split it into two separate ones

提交的文件在 git commit、git stash 和 git stash pop 之后不出现

sh compare-commits.sh