Skip to content

Instantly share code, notes, and snippets.

@nascimento
Created October 25, 2018 16:56
Show Gist options
  • Save nascimento/882fe8f285421ac0b2ff19934354a0b2 to your computer and use it in GitHub Desktop.
Save nascimento/882fe8f285421ac0b2ff19934354a0b2 to your computer and use it in GitHub Desktop.
git filter-branch --index-filter 'git rm --cached --ignore-unmatch blah.jar' -f --tag-name-filter cat -- --all
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch folder/' -f --tag-name-filter cat -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment