diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 94ffd6c..30fc8a6 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -202,15 +202,33 @@ init \ " # log commits history -alias gl='git log --all --graph \ ---format="%C(auto)%h%d %C(red)%ai%C(auto) %an%n%B"' - -# log commits history with patches -alias glp='git log --all --graph \ ---format="%C(auto)%h%d %C(red)%ai%C(auto) %an%n%B" --patch' +alias gl="\ +git \ +log \ +--all \ +--graph \ +--format=\"%C(auto)%h%d %C(red)%ai%C(auto) %an%n%B\" \ +" # log medium information -alias glm='git log --all --decorate --graph --pretty=medium' +alias glm="\ +git \ +log \ +--all \ +--decorate \ +--graph \ +--pretty=medium \ +" + +# log commits history with patches +alias glp="\ +git \ +log \ +--all \ +--graph \ +--format=\"%C(auto)%h%d %C(red)%ai%C(auto) %an%n%B\" \ +--patch \ +" # abort the current merge commit alias gma="\