📌  相关文章
📜  如何恢复上次推送的提交 - Shell-Bash 代码示例

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

代码示例1
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