]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Add some even shorter aliases.
[config/dotfiles.git] / gitconfig.m4
index 49c785cd68b6d9af23b22927cad2c5b4b8a608c5..22b61d17ecf6f58a244a77f14c2b804f71668e27 100644 (file)
@@ -1,4 +1,7 @@
-dnl Load macros.
+# Global Git configuration file.
+
+
+dnl Load m4 macros.
 include(../lib.m4)
 
 [user]
@@ -14,18 +17,36 @@ include(../lib.m4)
 
 [alias]
        # Shortcuts for often used commands.
+       c  = commit -v
        ci = commit -v
+       d  = diff
        di = diff
+       s  = status
        st = status
+       l  = log
+       a  = add
        co = checkout
+       b  = branch
        br = branch
+       m  = merge
        me = merge
+       f  = fetch
+       fe = fetch
+       p  = push
+       pu = push
        # Custom commands.
+       fs = fsck --strict --full
        glog = log --pretty=oneline --graph --all
+       ss = stash save
+       sa = stash apply
+       sl = stash list
 
 [merge]
 IF(OS, darwin)
        tool = opendiff
 FI
+IF(OS, debian)
+       tool = vimdiff
+FI
 
 # vim: ft=gitconfig