Last active
October 12, 2023 12:21
-
-
Save apphands/e695917bb51530be66c35d5d753357ca to your computer and use it in GitHub Desktop.
To fix the Git error: "remote: error: GH001: Large files detected."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch -f --index-filter 'git rm -r -f --ignore-unmatch <FILE_TO_REMOVE>' HEAD |
You might also want to include git push --force [repo_nickname] [branch]
after the above command
Thank you! This was a great help.
very much needed, thanks!
great help!
This command helped a lot, thanks! In addition, one of my projects has a lot of commits and the process was very slow. I found this free software that does the same thing, but very fast: (https://github.com/rtyley/bfg-repo-cleaner)
I hope to help
Amazing, thank you so much.
thank you so much
Thanks @apphands, it helped.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much, This was a life saver