Git – Ignore node_modules folder everywhere

Add node_modules/ or node_modules to the .gitignore file to ignore all directories called node_modules in the current folder and any subfolders like the below image.

Leave a Comment