From 97ea8a56b0388dc79cdf93cf3e10d8ef2065ca48 Mon Sep 17 00:00:00 2001 From: Wellington Mendoza Date: Wed, 29 Nov 2017 10:20:56 -0500 Subject: [PATCH] Add a description for colour scheme --- modules/git/init.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/git/init.zsh b/modules/git/init.zsh index ec14420..ce83e68 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -6,7 +6,12 @@ # Settings # -# Log +# Log Colour scheme: +# Commit hash (%H) - Yellow +# Author name (%an) - Cyan +# Author date (%ai) - Blue +# Ref names (%d) - Auto +# See: https://git-scm.com/docs/pretty-formats _git_log_medium_format='%C(bold)Commit:%C(reset) %C(yellow)%H%C(auto)%d%n%C(bold)Author:%C(reset) %C(cyan)%an <%ae>%n%C(bold)Date:%C(reset) %C(blue)%ai (%ar)%C(reset)%n%+B' _git_log_oneline_format='%C(yellow)%h%C(reset) %s%C(auto)%d%C(reset)%n' _git_log_fullgraph_format='%C(yellow)%h%C(reset) %<|(60,trunc)%s %C(cyan)<%an> %C(blue)(%cd)%C(auto)%d%C(reset)%n'