Live data from Hacker News

Ask HN: Best practice to prevent credentials/secrets commit to Git repo

news.ycombinator.com

1–4 of 4 posts

Re: Ask HN: Best practice to prevent credentials/secrets commit to Git repo

#3

Push protection https://docs.github.com/en/code-security/concepts/secret-sec... https://github.blog/news-insights/product-news/push-protecti...

Thanks, that's helpful. Do you use gitleaks or other library to do pre-commit protection? @toomuchtodo

Re: Ask HN: Best practice to prevent credentials/secrets commit to Git repo

#4
post #3

Push protection https://docs.github.com/en/code-security/concepts/secret-sec... https://github.blog/news-insights/product-news/push-protecti...

Thanks, that's helpful. Do you use gitleaks or other library to do pre-commit protection? @toomuchtodo

Gitleaks is a fine tool to use, I would recommend its use.