Created
January 20, 2019 03:35
-
-
Save S-Voss/b9a054d688b6014e818e782b71f9b5d2 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