Created
January 29, 2013 15:24
-
-
Save frantic/4665050 to your computer and use it in GitHub Desktop.
Git secrets I didn't know about
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
# Show inline diff | |
git diff HEAD^ --word-diff | |
# Turn on autocorrection ("comit" -> "commit") | |
git config --global help.autocorrect 1 | |
# Ultimate blame | |
git blame -w -CCC | |
# Get a file from different branch/rev | |
git checkout REV -- path/to/file.txt | |
# Quck find&show commit by part of its message | |
git show :/fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment