From 35c013ddf3470b78a4c387060b594a2362501d2d Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Wed, 25 Mar 2026 14:25:30 +0100 Subject: [PATCH] git: add git root alias --- home/.config/git/common.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/git/common.gitconfig b/home/.config/git/common.gitconfig index e875b78..2be5a41 100644 --- a/home/.config/git/common.gitconfig +++ b/home/.config/git/common.gitconfig @@ -30,6 +30,7 @@ dft = -c diff.external=difft diff lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' + root = rev-parse --show-toplevel [column] ui = auto [branch]