[linux] git push异常: [remote rejected] xx->xx(n/a (unpacker error)) error: failed to push some refs

Error message: git push has unpack error

The model file is too large to upload.

Delete the model file, du -sh is still 300M, so delete .git. Then re-git clone, copy the file over.

git add .
git commit -m "upload code"
git push origin master

In this way, git push is successful!

The model file is too large and will cause packaging errors!
 

Guess you like

Origin blog.csdn.net/Trance95/article/details/131063869