Skip to content

Instantly share code, notes, and snippets.

@m4tlch
Forked from sabarasaba/gist:3080590
Created July 30, 2018 07:48
Show Gist options
  • Select an option

  • Save m4tlch/a5cd8f26e37fd470411493727adf1103 to your computer and use it in GitHub Desktop.

Select an option

Save m4tlch/a5cd8f26e37fd470411493727adf1103 to your computer and use it in GitHub Desktop.
Remove directory from remote repository after adding them to .gitignore
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment