Created
February 19, 2021 02:57
-
-
Save RyanGreenup/02bb82102306d603c5ebd6b272e83fc4 to your computer and use it in GitHub Desktop.
Review Git changes using fzf
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
git log | grep '^commit' | sed 's/^commit\ //' |\ | |
fzf --preview 'git diff {}^! |\ | |
bat --color always' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternatively skim allows setting keybindings: