Skip to content

Commit

Permalink
Auto-color tags and references in git log
Browse files Browse the repository at this point in the history
Now tags (e.g. `staging-20170828`) and references (e.g. `origin/master`)
are different colors, instead of being forced to be the same.
  • Loading branch information
gabebw committed Aug 28, 2017
1 parent fe9de13 commit c6853a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag-git/gitconfig
Expand Up @@ -62,7 +62,7 @@
# git log uses --pretty format by default, so this changes the default
# format. It looks like this:
# 4436819 (HEAD, origin/master, master) Short commit message [Gabe Berke-Williams, 23 hours ago]
pretty = %C(magenta reverse)%h%Creset%Cgreen%d %Creset%C(blue)%s %C(magenta)[%an, %cr]
pretty = %C(magenta reverse)%h%Creset%C(auto)%d %Creset%C(blue)%s %C(magenta)[%an, %cr]
[svn]
authorsfile = ~/.git-author

Expand Down

0 comments on commit c6853a7

Please sign in to comment.