Last active
November 22, 2019 16:06
-
-
Save isaaclw/3b468a1226582172f286aba1f71f60bf to your computer and use it in GitHub Desktop.
Use vimdiff to show the differences before and after a git hash #vim #git
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
HASH= | |
FILE= | |
vimdiff <(git show $HASH~:$FILE) <(git show $HASH:$FILE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment