Files larger than 100M will fail to push.
You need to use git lfs.
Here is the operation process on Mac:
brew install git-lfs
If you have already used git add
for this large file before git lfs track
, it may not work. In my case, I directly deleted the .git
and started over.
git init
git lfs install
git lfs track 0/wsgw.apk
git add .
git commit -m "first commit"
Note: Make sure to add .gitattributes
.