Git 回滚Rollback 撤销修改 撤销修改 工作区放弃修改 use "git checkout -- <file>..." to discard changes in working directory 暂存区撤销添加 use "git reset HEAD <file>..." to unstage # 继续回到修改前内容 $ git checkout -- <file>...