Skip to content

Instantly share code, notes, and snippets.

@tatethurston
Created October 26, 2015 04:57
Show Gist options
  • Save tatethurston/c1c13d1f0bf4eace1b73 to your computer and use it in GitHub Desktop.
Save tatethurston/c1c13d1f0bf4eace1b73 to your computer and use it in GitHub Desktop.
git-filter-branch
git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch FILE_TO_REMOVE' \
--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