Occasional Git
Welcome to Occasional Git! For when you’re working on your own, on small-ish sites. These are the things I encounter sometimes only once a month, if that. I’ll be supplementing the commands with examples I’ve used personally.
Ignoring files already committed ¶
git rm --cached
I’m horrendous at knowing what files to ignore until much later. So this little command is definitely the highest on the list of “how do I do that again?”.