diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-07 07:59:59 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-07 07:59:59 +0000 |
commit | fa1ad03ddfa37aaaa6f9aac6027d7227b070b083 (patch) | |
tree | e5ffa41ab1e75c59641454c6ca27b6c3f05427d5 /pre-commit | |
parent | Initial commit (diff) | |
download | devi-githooks-fa1ad03ddfa37aaaa6f9aac6027d7227b070b083.tar.gz devi-githooks-fa1ad03ddfa37aaaa6f9aac6027d7227b070b083.zip |
Diffstat (limited to 'pre-commit')
-rwxr-xr-x | pre-commit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pre-commit b/pre-commit new file mode 100755 index 0000000..3284e4d --- /dev/null +++ b/pre-commit @@ -0,0 +1,3 @@ +#!/bin/sh + +git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline |