From 9ae76d7eec2800957c37e78bc00be4c3ab503135 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 26 May 2026 09:44:40 +0200 Subject: [PATCH] Fix undo shortcut in Undoing.md We fixed this recently in the Readme (see 7a3bae4de1f7), but forgot to update this. --- docs-master/Undoing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-master/Undoing.md b/docs-master/Undoing.md index 0a4c2f381..032573258 100644 --- a/docs-master/Undoing.md +++ b/docs-master/Undoing.md @@ -1,6 +1,6 @@ # Undo/Redo in lazygit -You can undo the last action by pressing 'z' and redo with `ctrl+z`. Here we drop a couple of commits and then undo the actions. +You can undo the last action by pressing 'z' and redo with 'Z' (shift+z). Here we drop a couple of commits and then undo the actions. Undo uses the reflog which is specific to commits and branches so we can't undo changes to the working tree or stash. ![undo](../../assets/demo/undo-compressed.gif)