Last active
August 29, 2015 14:18
-
-
Save keirwhitlock/b0f56ad9b36f2daa181e to your computer and use it in GitHub Desktop.
Git alias for git log graph (~/.gitconfig)
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
| [alias] | |
| lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset)' | |
| lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)' | |
| lg = !"git lg2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment