From f724115bc01f5bdb0a122ce2745035b9835aa5e0 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 24 Oct 2022 10:20:19 +0200 Subject: [PATCH] git: default to dates in `human` format for git-log --- config/git/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/git/config b/config/git/config index ab336b1..6bd1e1a 100644 --- a/config/git/config +++ b/config/git/config @@ -1,8 +1,8 @@ [alias] cm = commit --verbose co = checkout - l = log --graph --format='%C(auto)%h%d %s %C(10)%ar' - ln = log --graph --format='%C(auto)%h%d %s %C(10)%ar %C(auto)by %C(10)%an<%ae>' + l = log --graph --format='%C(auto)%h%d %s %C(10)%ad' + ln = log --graph --format='%C(auto)%h%d %s %C(10)%ad %C(auto)by %C(10)%an<%ae>' ll = log --graph --decorate --stat la = l --all lna = ln --all @@ -15,6 +15,9 @@ trustctime = false # http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/ pager = less -F -X +[log] + date = human + [push] default = nothing