diff options
author | gennyble <gen@nyble.dev> | 2023-08-24 21:49:51 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-08-24 21:49:51 -0500 |
commit | a65355c1476d4815f0b28959fd2cd2f160dc4374 (patch) | |
tree | 8661b7ff3d8ba6053a11ed12230f37524850eefe /pre-commit | |
parent | 544aae00aa8d589a2b2817373611d21aa70eec0e (diff) | |
download | whenwasit-a65355c1476d4815f0b28959fd2cd2f160dc4374.tar.gz whenwasit-a65355c1476d4815f0b28959fd2cd2f160dc4374.zip |
add pre-commit example
Diffstat (limited to 'pre-commit')
-rwxr-xr-x | pre-commit | 4 |
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 |