Karl Fogel

Karl Fogel at

I hate how 'git add' means both "stage changes in a file that's already under version control" and "add a file to version control".

Failure mode: You have 'secrets' and 'secrets.tmpl', you edit the latter, but due to shell auto-complete you 'git add' the former, commit, & push.

I'm not saying I did this or anything. I mean, it's just something that could happen, in theory, to someone. Who wasn't being careful enough and who depends a bit too unconsciously on shell completion. And who looks a lot like me, and has my name.

Karl Fogel at 2019-08-02T16:03:53Z

Sounds like that person needs a .gitignore file 😁

JanKusanagi at 2019-08-02T16:29:40Z