From 54f61c5a0b604ece4cc7e5c390f4fd993d17374f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Wed, 25 Nov 2020 20:50:39 +0100 Subject: [PATCH] Add my own pretty format --- .config/git/config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2