about summary refs log tree commit diff
path: root/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit')
-rwxr-xr-xpre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/pre-commit b/pre-commit
new file mode 100755
index 0000000..2867963
--- /dev/null
+++ b/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/bash
+# example of how it might be used in a git hook
+whenwasit --ignore .whenwasit-ignore . > .whenwasit
+git add .whenwasit
\ No newline at end of file