add pretty log

This commit is contained in:
Anish Lakhwara 2022-05-16 11:26:32 +10:00
parent 05744054c9
commit c23dc31aeb

View file

@ -21,6 +21,8 @@
ranked-authors = !git authors | sort | uniq -c | sort -n ranked-authors = !git authors | sort | uniq -c | sort -n
emails = !git log --format="%aE" | sort -u emails = !git log --format="%aE" | sort -u
email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | 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"] [filter "lfs"]
required = true required = true
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f