Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git implemented a `.gitignore` file for this exact purpose. One of the first things to do when you create a new repo is to customize if for the language + OS.


And .env is implemented for this exact purpose too, hand-in-hand with .gitignore ;)

But mistakes happen all the item. It's very easy to fat-finger a line in .gitignore - one char off and you're toast.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: