Skip to content

Instantly share code, notes, and snippets.

@davidroyer
Forked from cassidoo/remove-node_modules
Created June 12, 2018 20:48
Show Gist options
  • Save davidroyer/516b72db97caf546734961648d283946 to your computer and use it in GitHub Desktop.
Save davidroyer/516b72db97caf546734961648d283946 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