]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.in
t/test.sh: minor cleanup
[config/dotfiles.git] / gitconfig.in
index d1f7f60cf51fa84e35fc2fc20d43a7a13b4f3e1b..53dd50c671636edfca307d1dfddf87a65250c307 100644 (file)
@@ -73,6 +73,7 @@
        dcw = diff --cached --color-words
        dcs = diff --cached --stat
        g   = grep
+       gi  = grep --ignore-case
        s   = status
        l   = log
        ls  = log --stat
@@ -84,7 +85,7 @@
        rs  = reset
        rsh = reset --hard
        rsp = reset --patch
-       # Only clean ignored files.
+       rv  = revert
        cl  = clean -ndx
        clf = clean -fdx
        ## Branches.
 [log]
        # Display branches/tag names in log (same as log's --decorate option).
        decorate = short
+       # If a single file is given to `git log`, automatically use --follow.
+       follow = yes
 
 [merge]
        tool = vimdiff
 
 [push]
        # When running git push without a refspec push only the current
-       # branch, see man page git-config(1) for details.
+       # branch, see man page git-config(1) for details. Default since Git
+       # 2.0.
        default = simple
 
 [format]
 [transfer]
        # Automatically fsck objects when receiving them (respected by git
        # receive-pack and git fetch (>= 1.7.8, for fetch)).
-       fsckobjects = yes
+       fsckObjects = yes
 
 # vim: ft=gitconfig