Skip to content

Instantly share code, notes, and snippets.

@corburn
Created April 30, 2015 16:07
Show Gist options
  • Save corburn/c03fc24f6572d9729bef to your computer and use it in GitHub Desktop.
Save corburn/c03fc24f6572d9729bef to your computer and use it in GitHub Desktop.
# Remove file from history
git filter-branch \
--index-filter 'git rm --cached --ignore-unmatch filename.orig' merge-point..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment