たまに LazyGit で Undo を使います。
専用のページがあることを知ったので読んでみました。
lazygit/docs/Undoing.md at master · jesseduffield/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. Undo uses the reflog which is specific to commits and branches so we can’t undo changes to the working tree or stash.
・z で最後の操作を取り消し(Undo)、 Ctrl + z でやり直し(Redo)。
・reflog を使用するため、作業ツリーやスタッシュへの変更を Undo できない。
以上です。
▼この記事がいいね!と思ったらブックマークお願いします
