From 9ddb03e18e9b345f8124f039cc2e9dc23073c7b9 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sat, 27 Aug 2022 22:52:12 +0200 Subject: [PATCH] gitconfig: add colored git-blame --- files/git/.gitconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/files/git/.gitconfig b/files/git/.gitconfig index cb22708..ba90560 100644 --- a/files/git/.gitconfig +++ b/files/git/.gitconfig @@ -11,11 +11,18 @@ c = commit -v ca = commit -v --amend co = checkout - b = branch + br = branch pl = pull --rebase u = pull --rebase ps = push lg = log --oneline --decorate --graph yoink = pull yeet = push - b = blame --color-by-age -L + b = blame -L +[blame] + date = relative + coloring = highlightRecent +[color "blame"] + highlightRecent = 248, 23 month ago, 247, 21 month ago, 246, 19 month ago, 245, 17 month ago, 244, 15 month ago, 243, 13 month ago, 242, 11 month ago, 241, 9 month ago, 240, 8 month ago, 239, 7 month ago, 238, 6 month ago, 237, 5 month ago, 236, 4 month ago, 235, 3 month ago, 234, 2 month ago, 233, 1 month ago, 232, 1 week ago, 112 + +