diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-07 10:53:31 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-12 16:15:50 +1000 |
commit | 3ea81d4a6f8e9144b5896112a517ddf5c27373a2 (patch) | |
tree | 4c408091f9c637022a8a5801a81953bb5995a82b /docs/Undoing.md | |
parent | 0df5cb1286a1f6fb442789ea8afacf7cdcd53735 (diff) |
Add undo demo
Diffstat (limited to 'docs/Undoing.md')
-rw-r--r-- | docs/Undoing.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Undoing.md b/docs/Undoing.md index 7b5a15648..0a4c2f381 100644 --- a/docs/Undoing.md +++ b/docs/Undoing.md @@ -1,9 +1,9 @@ # Undo/Redo in lazygit -![Gif](../../assets/undo2.gif) +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. +Undo uses the reflog which is specific to commits and branches so we can't undo changes to the working tree or stash. -## Keybindings: -'z' to undo, 'ctrl+z' to redo +![undo](../../assets/demo/undo-compressed.gif) ## How it works |