git 提交 error:RPC failed; HTTP 413 curl 22 The requested URL returned error: 413

原因:使用的是http方式提交,提交的文件过大,网速不好

解决方案:修改为ssh的方式提交

设置方法:执行命令  git remote set-url origin ssh地址

将上面的ssh地址替换为你仓库的地址,然后再提交就可以了

你可能感兴趣的:(git,rpc,http)