Skip to content

Instantly share code, notes, and snippets.

@Rich2k
Created October 5, 2019 07:44
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 Rich2k/e2c01af463c4e3967dda9c1db7b16006 to your computer and use it in GitHub Desktop.
Save Rich2k/e2c01af463c4e3967dda9c1db7b16006 to your computer and use it in GitHub Desktop.
Remove large git file
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment