问题遇到的现象和发生背景
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 推送成功到远程仓库