From 81f7680493267df6a0e8934bbac0b9975d8ae670 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 9 Nov 2015 16:32:04 -0500 Subject: [PATCH] add git alias "lg1" --- bash_aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/bash_aliases b/bash_aliases index 72dc746..f98eae9 100755 --- a/bash_aliases +++ b/bash_aliases @@ -161,6 +161,7 @@ function git-config-joshs() git config --global alias.dc 'diff --cached' # from http://stackoverflow.com/questions/1057564/pretty-git-branch-graphs/9074343#9074343 git config --global alias.lg '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(magenta)%an%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)" --all' + git config --global alias.lg1 '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(magenta)%an%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)"' git config --global alias.mergef 'merge FETCH_HEAD' git config --global alias.gdiff 'difftool -y -t gvimdiff' git config --global alias.gdiffc 'difftool -y -t gvimdiff --cached'