I'm using GitHub and have run into a bit of a problem with large files.
I updated a 3rd party library, and it added a file of size 119.41 MB. So now in Sourcetree when I try to push to GitHub I get the following warning:
remote: error: File Pods/Realm/core/realm-monorepo.xcframework/watchos-arm64_i386_x86_64-simulator/librealm-monorepo.a is 119.41 MB; this exceeds GitHub's file size limit of 100.00 MB
Unfortunately I've done a bunch of work after that commit, and it needs to pushed to the repo.
Is there a way to go through every historic commit of the of project and delete all files with the name librealm-monorepo.a
?
Apologies if this is an obvious question, but my Git skills are quite weak, and I'm rather nervous about accidentally screwing up the whole project. So all advice would be greatly appreciated :)