Skip to content

Instantly share code, notes, and snippets.

@GregGallant
Created February 19, 2015 16:23
Show Gist options
  • Save GregGallant/3d4899bbb25cfbc4f227 to your computer and use it in GitHub Desktop.
Save GregGallant/3d4899bbb25cfbc4f227 to your computer and use it in GitHub Desktop.
Git/Github History Removal Services
git filter-branch --prune-empty -d /dev/shm/scratch --index-filter "git rm --cached -f --ignore-unmatch <filename>" --tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment