]> git.phdru.name Git - dotfiles.git/commitdiff
.gitconfig: add diff aliases
authorOleg Broytman <phd@phdru.name>
Sat, 18 Apr 2015 22:05:41 +0000 (01:05 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 18 Apr 2015 22:05:41 +0000 (01:05 +0300)
.gitconfig

index 7dc2aa096fd115a2b9d14061550a707efc602e43..14b5b731bbf64bf50f75929c11dff77a3cfec89b 100644 (file)
@@ -5,13 +5,14 @@
        ca = commit --amend
        ci = commit
        co = checkout
-       l1 = log --oneline
-       l5 = log -5
+       d = diff
+       dc = diff --cached
        lg = log --decorate --graph
        lg1 = log --decorate --graph --oneline
        lg5 = log --decorate --graph -5
        st = status --short
        stb = status --short --branch
+       wdiff = diff --word-diff
 
 [color]
        ui = auto