commit 2524427e42c6628d7720b1c2bb8384f59ec2850a
parent 59bb74de99cba8316d8e164ec45678760d251d4e
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 16 May 2018 22:55:03 +0200
New alias diffs, shows diff using staged files
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.gitconfig b/.gitconfig
@@ -11,6 +11,7 @@ email = EMAIL
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
lg = !"git lg1"
+ diffs = "diff --staged"
adog = log --all --decorate --oneline --graph
delete-merged-branches = "!git checkout master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
changes = diff --summary --stat