📜  git delete local commit - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:45.129000             🧑  作者: Mango

代码示例4
# Remove ALL commits up to commit hash.
# NB: Make sure these commits have not been pushed.

git reset --hard