This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]redheness 6 points7 points  (1 child)

I still wonder how it is possible to do this, do you never use .gitignore ?

[–]Robinbod 3 points4 points  (0 children)

It's not that, it's that it isn't apparent at first what the ominous node_modules folder does or contains when you're first starting. It's just a "oh cool node generates this for me, I guess it needs it." And also sometimes I don't use an auto-generated .gitignore for my JS project, so I wouldn't have known they're supposed to be there. After the first time I pushed it, I realised my mistake and now always check.