Created
April 8, 2018 13:04
-
-
Save ferrine/dbb9822d314ef14e3c9614c568d4dd68 to your computer and use it in GitHub Desktop.
pre commit hook that uses git secret
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git secret hide && git add $(git secret list | awk -v ext=${SECRETS_EXTENSION:-secret} '{print $1"."ext}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adds encrypted files for commit stage