From ad6110c7b62b4f1bd9b96e62f67b8d23a997411e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 12 Apr 2016 19:47:51 +0200 Subject: [PATCH] git: Update aliases. --- git/gitconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 40edc1a..6207f24 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -8,7 +8,7 @@ unmodify = "checkout --" ignore-changes = "update-index --assume-unchangend" unignore-changes = "update-index --no-assume-unchanged" - visual = "!gitk" + visual = "!gitk --all" staged = "diff --staged" co = "checkout" @@ -18,6 +18,7 @@ rb = "rebase" rbi = "rebase -i" df = "diff" + gr = "! git graph" k = "!gitk --all" @@ -29,7 +30,7 @@ pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r \"$@\" ; } ; done' -" - graph=log --graph --pretty=format:'%C(yellow)%h%Creset%C(bold red)% D%Creset %C(green)(%cr) %C(blue)[%an]%Creset%n %C(bold white)%s%Creset' --all + graph = log --graph --pretty=format:'%C(yellow)%h%Creset%C(bold red)% D%Creset %C(green)(%cr) %C(blue)%an<%ae>%Creset%n %C(bold white)%s%Creset' --all intercommit = !bash -c 'interdiff <(git show $1) <(git show $2) | less -FRS' -