# git 工作原理与撤销操作图解 | Shall We Code? 绝大部分程序员一定搜索过「如何撤销 git 提交」,git checkout、git reset 或 git revert 是暂时的答案,掌握一定的 git 工作原理才能一劳永逸地解决类似问题。 [https://www.waynerv.com/posts/git-undo-intro/](https://www.waynerv.com/posts/git-undo-intro/)