Last active
January 20, 2021 10:48
-
-
Save buithehoa/49f179183bb14fe3d928 to your computer and use it in GitHub Desktop.
Diff Against the Previous Commit
This file contains 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 show $COMMIT | |
# OR | |
git diff HEAD^ HEAD | |
# OR | |
git diff --cached <file_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment