Shell/Bash: how to remove node_modules from git Example

By

Shell/Bash Example: This is the "how to remove node_modules from git" Example. compiled from many sources on the internet by SimpleTutorials.org

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

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


* Summary: This "how to remove node_modules from git" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others