2 comments
This is just a very low-effort regurgitation of this: <a href="https://git-scm.com/docs/gitignore" rel="nofollow">https://git-scm.com/docs/gitignore</a>
You made my day. Everything is said and explained there.<p>Ok, sometimes a more vivid and visually explanatory style would help, but here still Google is your friend for individual concepts.<p>One of the best resources there is. git is a hell of a tool. It looks simple but is so beautifully versatile without being complex or not deductive.
Hey, come on now - they added 'check-ignore' which is good complementary advice.
I use the ever living hell out of .git/info/exclude. Works great for scripts/Makefiles I only want locally and collaborators wouldn’t care about or be able to use.