]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vcs/gitconfig.in
vcs: gitconfig: expand -s in ld alias
[config/dotfiles.git] / vcs / gitconfig.in
index 3d3afced140e378df75a71c99417c4d37a937425..93e98663f8994e4ad975d8f075a07c84ed364991 100644 (file)
@@ -1,6 +1,6 @@
 # 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
@@ -62,7 +62,7 @@
        ## 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
@@ -76,7 +76,7 @@
        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