Skip to content

Instantly share code, notes, and snippets.

@regisbsb
Last active August 29, 2015 14:05
Show Gist options
  • Save regisbsb/95dbc4f297ae06be49ef to your computer and use it in GitHub Desktop.
Save regisbsb/95dbc4f297ae06be49ef to your computer and use it in GitHub Desktop.
Remove packages folder from history
git filter-branch --index-filter "git rm -r --cached --ignore-unmatch packages/" --prune-empty --tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment