首页 / GIT / 解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu
解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含830字,纯文字阅读大概需要2分钟。
内容图文
![解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu](/upload/InfoBanner/zyjiaocheng/1010/d3b6e8582c5749b3b953e50dfc7838b9.jpg)
解决Gitlab的The remote end hung up unexpectedly错误
解决RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large问题
解决办法1:
换用ssh克隆
解决办法2:
分成多次提交,每次只提交一小部分代码
方法1
1. 生成SSH Key,终端执行:
ssh-keygen -t rsa -C "YourEmail@example.com"
...
回车即可,生成
Your identification has been saved in /Users/xxx/.ssh/id_rsa. Your public key has been saved in /Users/xxx/.ssh/id_rsa.pub.
2. gitlab配置ssh
1. 登陆GitLab,打开"Settings"->"SSH Keys"页面:
2. 在"Add SSH Key"处,填上任意Title,在Key文本框里粘贴id_rsa.pub文件的内容
3. 点"Add Key",即可看到你添加的key
3. 更新现有项目的仓库地址
1. 删除原服务端,切换到项目目录下
git remote remove origin
2. 添加新目标服务端地址
git remote rename origin 自己仓库的ssh地址(ssh://git@git.xxx:20/xxxx/xxxx.git)
内容总结
以上是互联网集市为您收集整理的解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu全部内容,希望文章能够帮你解决解决Gitlab的The remote end hung up unexpectedly错误,解决RPC failed; HTTP 413 curl 22 The requested URL retu所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。