← Back to context

Comment by LaGrange

20 hours ago

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

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.

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

  • That's cute, too bad it's a config file mandated by your boss and it has to be called "terribletool.yaml."

    • Never worked professionally in programming and I was told that home projects is like child's play.

      Especially the humility it requires - remember being mad when my younger brother joined my Factorio game and changed smelters setup. To an actually better one - one thing when people correct your technical solutions, double so bad when they are actually right.