3 ms·
I use one a git pre-commit hook that according to my notes i copied from here (at some point in the past, it may have changed since then): https://gist.github.
by jrochkind1 4y ago
I use one a git pre-commit hook that according to my notes i copied from here (at some point in the past, it may have changed since then):
https://gist.github.com/czardoz/b8bb58ad10f4063209bd https://gist.github.com/czardoz/b8bb58ad10f4063209bd
Then adapted with a better regex for secret keys I got from here: https://github.com/awslabs/git-secrets/blob/80230afa8c8bdeac766a0fece36f95ffaa0be778/git-secrets#L233-L242# https://github.com/awslabs/git-secrets/blob/80230afa8c8bdeac...
(I think maybe I was getting false positives before)