Hacker News new | ask | show | jobs
by rplnt 3135 days ago
You could have a git hook (even remote) that would check for pre-configured patterns and reject the push if it contains them.

Quick google yielded this https://github.com/awslabs/git-secrets