Answers for "how to remove node_modules from git"

11

how to remove node_modules from git

# Do the below steps -
# Make .gitignore file.
# Run below commands in your terminal

git rm -r --cached node_modules

git commit -am "node_modules be gone!"

git push origin master
Posted by: Guest on June-13-2020
0

how to remove node modules from github

remove node_modules
git rm -r --cached node_modules

git commit -am "node_modules be gone!"

git push origin master
Posted by: Guest on March-14-2021

Code answers related to "how to remove node_modules from git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language