Created
July 16, 2015 14:58
-
-
Save cassidoo/780583e5afee7191c065 to your computer and use it in GitHub Desktop.
Remove node_modules from git
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 to .gitignore file | |
node_modules | |
Then call: | |
git rm -r --cached node_modules | |
git commit -m "Remove node_modules now that they're ignored!" | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the snippet.