Skip to content

Instantly share code, notes, and snippets.

@phatboyg
Created December 15, 2014 21:26
Show Gist options
  • Save phatboyg/b6bf76ce09e386ba8904 to your computer and use it in GitHub Desktop.
Save phatboyg/b6bf76ce09e386ba8904 to your computer and use it in GitHub Desktop.
Destroy any history of packages in the Git repository
git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch src/packages" -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment