logoalt Hacker News

normie3000yesterday at 9:26 AM1 replyview on HN

> e.g. if it contains a private key file included by mistake

Thanks - this is the first example of a pre-commit hook that I can see value in.


Replies

seba_dos1yesterday at 2:01 PM

Remember that such key will be copied into the repository on `git add` already and will stay there until garbage collected.