From aa1eca1167f31cf1ddd0ca4efb19a9080ada9fef Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Fri, 4 Jun 2021 14:17:18 +0200 Subject: [PATCH] [git] iadd git alias command to inspect all aliases --- git/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/git/config b/git/config index 4d39b53..7c31cc8 100644 --- a/git/config +++ b/git/config @@ -20,8 +20,10 @@ tool = vimdiff [alias] # Short Fancy Logs - 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(bold yellow)%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(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all + 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(bold yellow)%d%C(reset)' + 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(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' lg = !"git lg1" + lga = !"git lg --all" dif = diff + alias = "! git config --get-regexp ^alias\\. "