Skip to content

Instantly share code, notes, and snippets.

@AustinWinstanley
Created May 16, 2017 22:21
Show Gist options
  • Save AustinWinstanley/406494e2a20e8641c278f14c647e53a8 to your computer and use it in GitHub Desktop.
Save AustinWinstanley/406494e2a20e8641c278f14c647e53a8 to your computer and use it in GitHub Desktop.
Git Delete Historical File
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment