Created
June 2, 2014 17:15
-
-
Save jmurowaniecki/b8bbd80e8a0f8a299b88 to your computer and use it in GitHub Desktop.
Git alias lg for pretty log
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
#!/bin/bash | |
# | |
# based on https://twitter.com/typeof_/status/438001208729403392 | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen%cr %Cblue%an%Creset'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment