-
-
Save gearmobile/a5fecf2dd8df1db14d5a318182f2d96f to your computer and use it in GitHub Desktop.
Remove node_modules after pushing to git repository
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 | |
git rm --cached node_modules | |
git commit -m 'Added node_modules to .gitignore file. Also removed node_modules from git tracking and repository.' | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment