summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2020-11-25 20:50:39 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2020-11-25 20:50:39 +0100
commit54f61c5a0b604ece4cc7e5c390f4fd993d17374f (patch)
tree6cc43f6907124cdabea9e39f8b80eabe4e3f4804
parent7481ad4862f38457a520290bd01c5782bd969f66 (diff)
Add my own pretty format
-rw-r--r--.config/git/config5
1 files 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