Created
February 16, 2017 18:57
-
-
Save malachaifrazier/4337b95b4df3fe3204d2999af186b7b7 to your computer and use it in GitHub Desktop.
Better git log
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 config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
And every time you need to see your log, just type in | |
git lg | |
Or, if you want to see the lines that changed | |
git lg -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment