]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Add new aliases au, ssk, fp.
[config/dotfiles.git] / gitconfig.m4
index 2b9889ec70fe87d3d686bc1e6dea238612257db4..32bb10f6dae22d704ddaac7e99f8707d24440220 100644 (file)
@@ -19,24 +19,24 @@ include(../lib.m4)
 # Use pager for the following commands.
 [pager]
        status = yes
-       clean = yes
        tag = yes
 
 [alias]
        # Shortcuts for often used commands.
        c  = commit -v
        ci = commit -v
-       d  = diff
-       di = diff
-       dc = diff --cached
+       d  = diff --patience
+       di = diff --patience
+       dc = diff --patience --cached
        s  = status
        st = status
        l  = log
        ls = log --stat
-       lp = log -p
+       lp = log -p --patience
        glog = log --pretty=oneline --graph --all
        a  = add
        ap = add -p
+       au = add -u
        co = checkout
        b  = branch -av
        br = branch -av
@@ -50,8 +50,10 @@ include(../lib.m4)
        ru = remote update
        fs = fsck --strict --full
        ss = stash save
+       ssk = stash save --keep-index
        sa = stash apply
        sl = stash list
+       fp = format-patch
 
 [diff]
        # Detect copies and renames.