Skip to content

Instantly share code, notes, and snippets.

@shaneturner
Created August 31, 2018 01:03
Show Gist options
  • Save shaneturner/65ba6bdfadccb7d1bb3195940e745709 to your computer and use it in GitHub Desktop.
Save shaneturner/65ba6bdfadccb7d1bb3195940e745709 to your computer and use it in GitHub Desktop.
Remove node_modules from git repo
#!/bin/sh
git rm -r --cached node_modules
git commit -m 'Remove node_modules directory'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment