summaryrefslogtreecommitdiff
path: root/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig5
1 files changed, 5 insertions, 0 deletions
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 <user>"/"Removed <repo>" (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