Skip to content

Instantly share code, notes, and snippets.

@kellan
Created August 2, 2018 23:33
Show Gist options
  • Save kellan/1b0fa4ca4e737ebf38ad44a74ac88474 to your computer and use it in GitHub Desktop.
Save kellan/1b0fa4ca4e737ebf38ad44a74ac88474 to your computer and use it in GitHub Desktop.
git filter-branch --index-filter 'git rm --cached --ignore-unmatch bad-file-to-remove.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment