Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to gitignore node modules

touch .gitignore  //to create a .gitignore if you dont have one
echo "node_modules/" >> .gitignore //this adds node_modules to gitignore
cat .gitignore //checks what files you have in your gitignore
 
PREVIOUS NEXT
Tagged: #gitignore #node #modules
ADD COMMENT
Topic
Name
5+9 =