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

263 B

git 撤销

撤销最近的提交。 作为 git-extras的一部分。 更多信息:https://github.com/tj/git-extras/blob/master/Commands.md#git-undo

  • 撤销最近的提交:

git undo

  • 撤销特定数量的最近提交:

git undo {{3}}