# Global Git configuration file.
-# Copyright (C) 2011-2017 Simon Ruderich
+# Copyright (C) 2011-2018 Simon Ruderich
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
## Local.
c = commit --verbose
ca = commit --verbose --amend
- cad = commit --verbose --amend --date=
+ cad = commit --verbose --amend --date=now
d = diff
dw = diff --color-words
ds = diff --stat
ls = log --stat
lp = log --patch
lpw = log --patch --color-words
- ld = show --date=short -s --pretty='format:%h (\"%s\", %ad)' # describe
+ ld = show --date=short --no-patch --pretty='format:%h (\"%s\", %ad)' # describe
a = add
ap = add --patch
au = add --update
# Disable annoying advice messages.
waitingForEditor = false
+[init]
+ # Don't create .git/hooks with any sample hooks. Reduces the clutter
+ # in new git repositories.
+ templateDir =
+
# NON-GIT SETTINGS