Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Ignore all the node_modules

to ignore all the node_modules
add follwowing in project's root .gitignore file.

**/node_modules

//brief
//There are two node_modules folders inside the frontend and backend folders and just 
a single .gitignore file in the project’s root. To ignore both of the node_modules folders,
the content of the .gitignore folder must be:
 
PREVIOUS NEXT
Tagged: #Ignore
ADD COMMENT
Topic
Name
8+6 =