From c961899fac1460fe5a4f292a3ef22e46cf97852d Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Mon, 19 Feb 2024 17:18:16 +0100 Subject: [PATCH] added an alias to get a nice graphical view of git branches, gg --- bash/.bash_aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/.bash_aliases b/bash/.bash_aliases index 69182b2..63cff96 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -10,4 +10,5 @@ alias ga='git add' alias gc='git commit' alias gp='git push' alias gl='git log' +alias gg="git 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)'"