Skip to content

Instantly share code, notes, and snippets.

@jamesmichiemo
Created April 17, 2014 13:58
Show Gist options
  • Select an option

  • Save jamesmichiemo/10985545 to your computer and use it in GitHub Desktop.

Select an option

Save jamesmichiemo/10985545 to your computer and use it in GitHub Desktop.
file removal from git history
git filter-branch --index-filter 'git rm --cached --ignore-unmatch screenshot.png' -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment