]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gitconfig.m4
git: No need to create .gitignore.
[config/dotfiles.git] / gitconfig.m4
index eab047768cfa47678e1e45e08800698880392d6f..4fec07701d98463390b1bc99c45ba34a144405e1 100644 (file)
@@ -7,12 +7,22 @@
 
 [core]
        editor = vim
-       excludesfile = HOME/.gitignore
+       excludesfile = GITIGNORE
 
 [alias]
+       # Shortcuts for often used commands.
        ci = commit -v
        di = diff
        st = status
        co = checkout
        br = branch
        me = merge
+       # Custom commands.
+       glog = log --pretty=oneline --graph --all
+
+[merge]
+IF(OS, darwin)
+       tool = opendiff
+FI
+
+# vim: ft=gitconfig