]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
gitconfig: Add comment.
[config/dotfiles.git] / gitconfig.m4
index b8fd3b666f1c9164f00d8e339c0db8b7b401359a..970014fc564b5c63c7120282bc3cb51103a86fe4 100644 (file)
@@ -13,8 +13,14 @@ include(../lib.m4)
 
 [core]
        editor = vim
+       # Can't use ~/ because of older git versions.
        excludesfile = GITIGNORE
 
+# Use pager for the following commands.
+[pager]
+       status = yes
+       clean = yes
+
 [alias]
        # Shortcuts for often used commands.
        c  = commit -v
@@ -32,6 +38,7 @@ include(../lib.m4)
        me = merge
        f  = fetch
        fe = fetch
+       t  = tag
        p  = push
        pu = push
        # Custom commands.
@@ -53,4 +60,9 @@ IF(OS, debian)
        tool = vimdiff
 FI
 
+[format]
+       # When using git format-patch use threads and add all patches as
+       # replies to the first one.
+       thread = shallow
+
 # vim: ft=gitconfig