Created
September 11, 2017 20:48
-
-
Save wolverineks/ac2d35a700935d32e21ab37cf1fe3195 to your computer and use it in GitHub Desktop.
Better Git 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
[format] | |
# automatically formats “git log” | |
# %h = abbreviated commit hash | |
# %ad = date of commit | |
# %an = author’s name | |
# %s = commit short message (synopsis) | |
# %C = change color of output text | |
# %<(50,trunc) = truncate next output to 50 chars | |
pretty = %C(yellow)%h %C(red)%<(14)%ad %C(blue)%<(15,trunc)%an %C(reset)%<(50,trunc)%s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment