Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created December 17, 2019 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dillie-O/a0e616585e903824be9b8848d67fe978 to your computer and use it in GitHub Desktop.
Save Dillie-O/a0e616585e903824be9b8848d67fe978 to your computer and use it in GitHub Desktop.
[Remove Large File from Git History] Scrubs full git history to remove reference to file specified #git
git filter-branch --index-filter 'git rm --cached --ignore-unmatch [file_name]' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment