Created
June 24, 2019 12:14
-
-
Save phiniezyc/1cf972f58ed2acf79b23c1da003f311a to your computer and use it in GitHub Desktop.
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" | |
| You've now created an alias to git log called git lg that will display the nicer output showed before. Try it out by typing git lg (or git lg -p to see the lines that have changed). | |
| https://dev.to/christopherkade/up-your-git-game-and-clean-up-your-history-4j3j?utm_source=digest_mailer&utm_medium=email&utm_campaign=digest_email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment