diff --git a/pages/common/git-undo.md b/pages/common/git-undo.md new file mode 100644 index 0000000000..9a6900277d --- /dev/null +++ b/pages/common/git-undo.md @@ -0,0 +1,13 @@ +# git undo + +> Undo recent commits. +> Part of `git-extras`. +> More information: . + +- Remove the most recent commit: + +`git undo` + +- Remove a specific number of the most recent commits: + +`git undo {{3}}`