git 撤销 commit , 作为新的提交 不影响原本的历史 Reverting a merge commit git revert -m 1 <merge_commit_sha> 舍弃,好久以前的一条 commit 逆转一次 git revert -m 1 21183 How do I revert a Git repository to a previous commit?