Skip to content

Instantly share code, notes, and snippets.

@schacon
Created September 28, 2010 22:30
Show Gist options
  • Save schacon/601926 to your computer and use it in GitHub Desktop.
Save schacon/601926 to your computer and use it in GitHub Desktop.
git filter-branch --index-filter 'git rm --cached --ignore-unmatch -r -- dir1 dir2 fileA fileB'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment