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

It also probably depends on what development tools people use. If everyone on the project uses a different IDE that's different patterns for each of them, but they all have to be in the ignore file.


Well, that is what a global gitignore file [1] is all about. Entries specific for your working environment (IDE-files) should be defined in your global gitignore, while everything project-specific (object files, build-directory etc.) should be in the project-gitignore.

[1] git config-option: --global core.excludesfile


Not really. That should be put in ~/.gitignore, e.g. I ignore Vim swap files there so I don't have to do it in every single repo.




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

Search: