Skip to content

Instantly share code, notes, and snippets.

@saitodisse
Created February 15, 2016 15:25
Show Gist options
  • Save saitodisse/4edcb13bad904134f15d to your computer and use it in GitHub Desktop.
Save saitodisse/4edcb13bad904134f15d to your computer and use it in GitHub Desktop.
git snippets
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