📜  git remove unpushed commit - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:51:27.349000             🧑  作者: Mango
代码示例2
# Remove ALL commits up to commit hash.
# NB: Make sure these commits have not been pushed.
git reset --hard