4 ms·
Git also ignores things you add into the `.git` folder (where your git history lives). You can use that as a place to store things quickly rather than say, doi
by tedk-42 4y ago
Git also ignores things you add into the `.git` folder (where your git history lives).
You can use that as a place to store things quickly rather than say, doing a stash.
- tiborsaas 4y agoThanks, I hate that I know this now.
- junon 4y agoDon't do this. It's a quick way to corrupt your repository.
- pnt12 4y agoWhen this happens, I usually create ./tmp/ and add it to .gitignore.
- junon 4y agoThis is also a bad decision because now you have to tip toe around the modified .gitignore.
- syncsynchalt 4y agoYou can add it to .git/info/exclude. That's a gitignore that's repo-local.
- junon 4y agoyep, that's the best solution.