Created
July 3, 2025 14:08
-
-
Save francisrstokes/ce517faacb75a241511f60c1f4d6a2dc to your computer and use it in GitHub Desktop.
Interactive reflog explorer using fzf that shows the contents of each commit in the preview pane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git reflog --color=always | fzf \ | |
--ansi \ | |
--preview "git show --color=always -p {1}" \ | |
--accept-nth 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment