I create a React Native
project include Firebase
sdk. When I make a command
git push origin mybranch
show the error about GoogleMobileAds
file over 100mb on my terminal.
I find the suggestion should remove it, I type command
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch ios/Pods/Google-Mobile-Ads-SDK/Frameworks/frameworks/GoogleMobileAds.framework/GoogleMobileAds'
before push.
But when I pull my branch and build my project will show the error is I don't have the file GoogleMobileAds
.
So I have to download the file from somewhere again, but If I want to push my project, the 100mb error
must happen again.
My question is what is the way to finish the pull and push if I have file over 100mb and don't need to download my file from somewhere again ?
Many thanks.