Created
May 21, 2014 15:45
-
-
Save billiegoose/1f24a952fa879e0f0179 to your computer and use it in GitHub Desktop.
git lg: the best git log alias
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
#!/bin/bash | |
git config --global --unset alias.lg; git config --global alias.lg "log --graph --abbrev-commit --decorate --date=relative -10 --format=format:'%C(bold blue)%h%C(reset) %C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment