Skip to content

Instantly share code, notes, and snippets.

@allanShady
Forked from apphands/GH001 fixed
Created July 30, 2021 10:28
Show Gist options
  • Save allanShady/4c50a8541bdb5b12d4104ef813e24218 to your computer and use it in GitHub Desktop.
Save allanShady/4c50a8541bdb5b12d4104ef813e24218 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