Skip to content

Instantly share code, notes, and snippets.

@hungbang
Forked from cassidoo/remove-node_modules
Created October 17, 2018 14:34
Show Gist options
  • Save hungbang/9f3091e96a748e63d4b460eeeda78e4d to your computer and use it in GitHub Desktop.
Save hungbang/9f3091e96a748e63d4b460eeeda78e4d to your computer and use it in GitHub Desktop.
Remove node_modules from git
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