Files
tldr/pages.zh/common/git-undo.md

13 lines
263 B
Markdown

# git 撤销
> 撤销最近的提交。
> 作为 `git-extras`的一部分。
> 更多信息:<https://github.com/tj/git-extras/blob/master/Commands.md#git-undo>。
- 撤销最近的提交:
`git undo`
- 撤销特定数量的最近提交:
`git undo {{3}}`