Skip to content

Instantly share code, notes, and snippets.

@sabarasaba
Created July 10, 2012 02:19
Show Gist options
  • Save sabarasaba/3080590 to your computer and use it in GitHub Desktop.
Save sabarasaba/3080590 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
@DHBuild002
Copy link

Boom, worked like a charm for clearing my parcel cache. Removed it from the Remote Repo too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment