push后代码上传不完整
会出现下面的情况:
译文:
再次进行git status 后,会告诉我,我的工作区比用户oragin lianxi 领先两条,让我继续git push
push后出现的结果
Enumerating objects: 414, done.
Counting objects: 100% (414/414), done.
Delta compression using up to 12 threads
Compressing objects: 100% (364/364), done.
Writing objects: 100% (414/414), 830.36 MiB | 841.00 KiB/s, done.
Total 414 (delta 71), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
再次进行git status 后,会告诉我,我的工作区比用户oragin lianxi 领先两条,让我继续git push
On branch lianxi
Your branch is ahead of 'origin/lianxi' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
重新进行push
git 推送成功到远程仓库
参考:https://blog.csdn.net/weixin_38450840/article/details/80701173
由于推送资源过大,或者你推送过程中网络不稳定导致的没推送完就掉了!重新推送就好了!
如果对你有帮助,请采纳一下
我这个问题是邮箱有问题,在我的里面设置邮箱不允许命令行查看,命令行查看会进行阻止并进行报错