From c25d84b7dc377921d3bc46191cf0db3e7089ec04 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Tue, 18 May 2021 19:14:07 +0100 Subject: [PATCH] git-undo: add page (#5980) --- pages/common/git-undo.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/git-undo.md 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}}`