From c23dc31aebaa7e6442e4afce5e608959bf6fba5f Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 16 May 2022 11:26:32 +1000 Subject: [PATCH] add pretty log --- users/profiles/git/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/profiles/git/config b/users/profiles/git/config index 060082d9..990e0bba 100644 --- a/users/profiles/git/config +++ b/users/profiles/git/config @@ -21,6 +21,8 @@ ranked-authors = !git authors | sort | uniq -c | sort -n emails = !git log --format="%aE" | sort -u email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u + # pretty log + ls = log --graph --abbrev-commit --decorate --color=always --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) - %C(dim red)%an%C(reset)%C(bold yellow)%d%C(reset)' --all [filter "lfs"] required = true smudge = git-lfs smudge -- %f