I've tried to push data to github, but got error
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 175fa38dfe7c67becde0232ae3469018
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File Pods/FirebaseMLVisionTextModel/Frameworks/FirebaseMLVisionTextModel.framework/FirebaseMLVisionTextModel is 302.51 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/paulo-bellator/MoneyFlow.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/paulo-bellator/MoneyFlow.git'
I deleted the whole pod (by reinstalling pods), in which that file was. And tried again. Same error.
I tried
git rm --cached "myFilePath"
but file wasn't found.
fatal: pathspec 'Pods/FirebaseMLVisionTextModel/Frameworks/FirebaseMLVisionTextModel.framework/FirebaseMLVisionTextModel' did not match any files
I also tried
git commit --amend -CHEAD
Get this response. Then trying to push, but again got same error
MacBook-Air-Nikita:MoneyFlow nikitagoncharov$ git commit --amend -CHEAD
[master 65e9e7a] remove MLVisionTextRecognizing model
Date: Wed Oct 9 13:57:22 2019 +0300
30 files changed, 2965 insertions(+), 4612 deletions(-)
Finally tried this command, but nothing happened.
git filter-branch
So i'm still getting this error, and can't push my data.
remote: error: GH001: Large files detected
What should i do to remove this file from git, and finally push my data into github?