[core]
editor = vim
+ # Can't use ~/ because of older git versions.
excludesfile = GITIGNORE
# Use pager for the following commands.
s = status
st = status
l = log
+ ls = log --stat
+ lp = log -p
a = add
+ ap = add -p
co = checkout
b = branch -av
br = branch -av
# Custom commands.
fs = fsck --strict --full
glog = log --pretty=oneline --graph --all
+ ru = remote update
ss = stash save
sa = stash apply
sl = stash list
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