Wednesday, 6 December 2017

Global gitignore node_modules?

A student asked me this today and I was pretty stumped: If we have a ~/.gitignore_global file, for example to ignore a Mac's .DS_Store files, then why don't we globally ignore node_modules?Or, put another way, in what situation am I going to want to track changes in node_modules, that means I shouldn't ignore it globally?

Submitted December 06, 2017 at 11:14PM by Earhacker

No comments:

Post a Comment