From a65355c1476d4815f0b28959fd2cd2f160dc4374 Mon Sep 17 00:00:00 2001 From: gennyble Date: Thu, 24 Aug 2023 21:49:51 -0500 Subject: add pre-commit example --- pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 pre-commit (limited to 'pre-commit') 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 -- cgit 1.4.1-3-g733a5