Created
October 29, 2012 16:55
-
-
Save ehedaya/3974870 to your computer and use it in GitHub Desktop.
Handy git aliases (sayForExample)
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
[alias] | |
lg = log --graph --all --format=format:'%C(bold red)%h%C(reset) - %C(bold green)%ad%C(reset) %C(white)%s%C(reset) %C(bold white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=short | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git congif --global --edit ... then paste the above