Tag

history-rewrite

0 views collected around this technical thread.

DevOps
DevOps
Jul 26, 2022 · Information Security

Detecting, Cleaning, and Preventing Sensitive Data in Git Repositories

This article explains how to identify, remove, and avoid committing sensitive information such as passwords, keys, or tokens in Git repositories by using git log searches, tools like Gitleaks and Detect‑Secrets, and scripts for history rewriting, while also describing preventive pre‑commit hook setups.

GitleaksSensitive Datadetect-secrets
0 likes · 7 min read
Detecting, Cleaning, and Preventing Sensitive Data in Git Repositories