From f5ad232247ef696743f2c5fcdfa76e083cdac0f2 Mon Sep 17 00:00:00 2001 From: rydesun Date: Sat, 19 Apr 2025 11:32:17 +0800 Subject: [PATCH] Update git style --- .config/git/config | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.config/git/config b/.config/git/config index c37f125..fd5045e 100644 --- a/.config/git/config +++ b/.config/git/config @@ -7,8 +7,14 @@ date = iso [alias] - lgl = log --oneline --abbrev=5 --graph --decorate --all - lg = lgl -5 + lga = log --graph --decorate --all --abbrev=5 \ + --pretty=format:'%C(auto)%h %C(blue)%ad%C(auto)%d %s' \ + --date=format:'%y/%m/%d' + llga = log --graph --decorate --all --abbrev=5 \ + --pretty=format:'%C(auto)%h %C(blue)%ad%C(auto)%d %s %C(dim white)(%an)' \ + --date=format:'%y/%m/%d %H:%M%z' + lg = lga -5 + llg = llga -5 gl = lg st = status --short sts = show --name-status