I am getting this error
remote: error: File _____ is 262.63 MB; this exceeds GitHub's file size limit of 100.00 MB
so I added the file to .gitignore.
However it's still trying to add it. Is there something I need to do in order for it to work?
I am getting this error
remote: error: File _____ is 262.63 MB; this exceeds GitHub's file size limit of 100.00 MB
so I added the file to .gitignore.
However it's still trying to add it. Is there something I need to do in order for it to work?
It's probably still added to your git repo, so you need to remove it with the following commands:
git rm --cached path/to/giant_file
# Stage your giant file for removal from the git repo
Commit this change with --amend
git commit --amend -CHEAD
# Amend the previous commit with your change
And finally, you can push as usual!
git push
# Push your smaller commit