📌  相关文章
📜  github 撤消上次推送的提交 - Shell-Bash 代码示例

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

代码示例3
To reset a brancj to some good commit:

In the server, move the cursor back to the last known good commit:

git push -f origin :

Locally, do the same:

git reset --hard 
#         ^^^^^^
#         optional