Skip to content

Instantly share code, notes, and snippets.

@hellotreedigital
Forked from apphands/GH001 fixed
Created November 2, 2022 18:13
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 hellotreedigital/2f749024678593b822c413abb1b1c433 to your computer and use it in GitHub Desktop.
Save hellotreedigital/2f749024678593b822c413abb1b1c433 to your computer and use it in GitHub Desktop.
To fix the Git error: "remote: error: GH001: Large files detected."
git filter-branch -f --index-filter 'git rm -r -f --ignore-unmatch <FILE_TO_REMOVE>' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment