From 54f61c5a0b604ece4cc7e5c390f4fd993d17374f Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Wed, 25 Nov 2020 20:50:39 +0100 Subject: Add my own pretty format --- .config/git/config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.config/git/config') diff --git a/.config/git/config b/.config/git/config index 84da7f2..0150e51 100644 --- a/.config/git/config +++ b/.config/git/config @@ -27,7 +27,7 @@ prune = true [format] # show a lot of info by default - pretty=fuller + pretty=compact [grep] # show linenumber (-n) lineNumber = true @@ -42,8 +42,7 @@ # use vimdiff as mergetool tool = vimdiff [pretty] - longline = '%C(auto)%h %<(52,trunc)%s (%aN, %GS %G?, %cr) %d' - longlines = '%C(auto)%h %<(52,trunc)%s (%aN, %GS %G?, %cr) %d %n%-w(0,8,8)%+b%-' + compact = %C(auto)%h%Cgreen% cs%Cblue%<(15,trunc)% an%C(auto)%d%Creset% s [push] # push to branch with same name on remote default = current -- cgit v1.2.3