Two git ignore files nobody told me about
- One of my many bad habits is carrying untracked files around in the repositories I work on.
- I did learn, some time ago, that those files must never contain secrets, because sooner or later they get committed by mistake.
- I learned it the easy way, by watching a colleague learn it the hard way: furiously rewriting history to cover his tracks, then rotating cloud credentials in a panic.
Unverified
- One of my many bad habits is carrying untracked files around in the repositories I work on.
- I did learn, some time ago, that those files must never contain secrets, because sooner or later they get committed by mistake.
- I learned it the easy way, by watching a colleague learn it the hard way: furiously rewriting history to cover his tracks, then rotating cloud credentials in a panic.
Sources: Dinculescu