Created
June 23, 2018 00:46
-
-
Save amb101/76c8339be0889e82258ce0e4bad5874e to your computer and use it in GitHub Desktop.
Stop tracking node_modules in git repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add 'node_modules' to .gitignore file | |
echo "node_modules/" >> .gitignore | |
git rm -r --cached node_modules | |
git commit -m 'Remove node_modules from repo' | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment