pre-commit
repos
good samples
gitleaks
ignore false positive
Add a comment with gitleaks:allow
to the line containing the error we want ignore
detect-secrets
ignore false positives
Add a comment with pragma: allowlist secret
in that line or pragma: allowlist nextline secret
in its previous line