Answers for "gitignore node_modules example"

6

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
Posted by: Guest on April-14-2021
6

git ignore node_modules

If you add the below text into your .gitignore file,
then it will look for the node_modules directory. Then the node_modules
directory will be ignored.



node_modules/
Posted by: Guest on March-08-2021
1

ignore all node_modules

.gitignore
node_modules
Posted by: Guest on August-15-2020
0

ignore node modules

//create a .gitignore file and add the following in it
# dependencies
node_modules
Posted by: Guest on May-31-2020

Code answers related to "gitignore node_modules example"

Browse Popular Code Answers by Language