git: add git root alias

This commit is contained in:
Romain Paquet 2026-03-25 14:25:30 +01:00
parent e5ecd337d9
commit 35c013ddf3

View file

@ -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]