logoalt Hacker News

LaGrangetoday at 3:46 PM2 repliesview on HN

Recovery from forgetting to add something is _much_ easier than recovery from adding some weird configuration file with plaintext private keys in it.


Replies

SmasherEpileptitoday at 4:06 PM

It depends. I've lost hours of work after wiping and recreating a repo that had accidentally gitignored a file I was working on, and I didn't notice until too late.

wafflemakertoday at 4:14 PM

I usually have *secret in .gitignore and append .secret to any files with secrets.