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

I don't like to rant, I like to have professional discussions.

Than you for reading the article and for sharing the FB link with a git ignore example - the contents of the example file is not long because it doesn't have every dev tool possible, so I think you proved my point - so thank you :)



Can you answer the questions?


>> Everyone uses different operating systems, IDEs and dev tools. > How is this related to .gitignore?

Exactly! I explained in the article (and video) people fill the repo git ignore with all their personal tools that generate files, for example .DS_Store, .Idea etc. This should go in their personal global git ignore

>> This list will only keep growing, it will never end > Where's the problem? A random Facebook's repo has its gitignore file weigh 2KB[0]. Is this a problem?

Have a look at some other projects. I explained in the article (and video) the file can be pages long with every possible combination and will only keep growing as new dev tools come out

>> Is the “.gitignore” file competing with the “README.md” for the most updated file in the git repo? I hope not > Again, why is this a bad thing?

As I explained in the article, it becomes a lot of work for the maintainers, to review, check for duplicate entries etc




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

Search: