Instantly share code, notes, and snippets.
This code will ensure that the _cache and _logs folders are added to .git but without any contents. This ensures smooth sailing when deploying directly from Git.
I think line 5 is supposed to reference _cache. But I like it! I'll add it to our sample one.
Ooh, you're right.