美文网首页
git报错fatal: protocol error: bad

git报错fatal: protocol error: bad

作者: 小小鸟他大爷 | 来源:发表于2023-12-03 15:12 被阅读0次

git上传限制了大小

增加到500M

git config --global http.postBuffer 524288000   

然后再上传

git push --set-upstream origin master

有些报错是本地仓库不够干净

git pull --rebase origin master

然后再push

git push -u origin master

直接覆盖(谨慎操作)

git push --force origin master

相关文章

网友评论

      本文标题:git报错fatal: protocol error: bad

      本文链接:https://www.haomeiwen.com/subject/kinkgdtx.html