From 2c5f7326bca49fe27a865f07175d6278b2f8b13a Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Sun, 11 Jun 2017 17:33:59 +0200 Subject: Clarify when to use dcm/dps (rarely) --- gitconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gitconfig b/gitconfig index f9a1ab5..a2a956d 100644 --- a/gitconfig +++ b/gitconfig @@ -44,6 +44,11 @@ git rm -f \"$1\";\ }; f" + # These are *not* good practice for collaborative projects, but are fine + # for repos that use git to submit settings, where most commit messages + # would be "Added "/"Removed " (I'm thinking of gitolite-admin). + # Those repos are usually private and benefit from the faster commits, + # while the changes are easily visible from the diff. # dated commit dcm = "!f(){ git commit -m \"$(date --iso-8601=seconds)\"; }; f" # dated push -- cgit v1.2.3