Answers for "how to ignore node modules inside a folder in git"

1

git ignore node modules

node_modules/
Posted by: Guest on June-01-2021
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

Code answers related to "how to ignore node modules inside a folder in git"

Browse Popular Code Answers by Language