📜  git remove las remotet commit - Shell-Bash 代码示例

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

代码示例1
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit