Last active
December 14, 2015 10:09
-
-
Save oak-tree/f4c8a75a99e49458cb47 to your computer and use it in GitHub Desktop.
pretty print for git log
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
| ##BASED on http://blog.kfish.org/2010/04/git-lola.html | |
| ## more on git log parameters http://git-scm.com/docs/pretty-formats | |
| [alias] | |
| #lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
| lol = log --graph --decorate --pretty=format:'%C(auto) %h %D %s - author: %Cblue %an' --abbrev-commit | |
| #lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
| lola = log --graph --decorate --pretty=format:'%C(auto) %h %D %s - author: %Cblue %an' --abbrev-commit --all | |
| ##credit to on https://plus.google.com/u/0/107195974066798722742 | |
| logm = log --decorate=short --pretty=format:'%C(yellow) %h %C(blue) %s %C(reset)(%C(red)by %cN %C(green)on %cD%C(reset))' --merges | |
| logg = log --decorate=short --pretty=format:'%C(yellow) %h %C(blue) %s %C(reset)(%C(red)by %cN %C(green)on %cD%C(reset))' --graph | |
| [color] | |
| branch = auto | |
| diff = auto | |
| interactive = auto | |
| status = auto | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment