github使用相关问题

建议

  1. 最好科学上网
  2. 配置ssh key

可能错误

clone

remote: Enumerating objects: 357, done.

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal: the remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

解决方法:

将缓存Buffer容量调大(特别是如有大文件)

bash 复制代码
sudo apt install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 5000000000

push

如有科学上网,push还是遇到问题的话可以配置代理

bash 复制代码
git config --global http.proxy 127.0.0.1:1234
git config --global https.proxy 127.0.0.1:1234

地址就是本地回环即可,端口号查看科学上网软件监听的端口并做相应修改

bash 复制代码
git config --global http.proxy socks5 127.0.0.1:1234
git config --global https.proxy socks5 127.0.0.1:1234
相关推荐
金融数据出海1 小时前
黄金金融期货数据API对接技术文档
开发语言·金融·github
hfd19902 小时前
GitHub 宕机自救指南:保障开发工作连续性
github
绝无仅有4 小时前
未来教育行业的 Go 服务开发解决方案与实践
后端·面试·github
逛逛GitHub7 小时前
这 4 个牛逼 GitHub 开源项目,太优质了。
github
知行力8 小时前
【GitHub每日速递】不止 TeamViewer 替代!RustDesk 与 PowerToys,Windows 效率神器
windows·github·teamviewer
杨杨杨大侠9 小时前
实战案例:商品详情页数据聚合服务的技术实现
java·spring·github
杨杨杨大侠9 小时前
实战案例:保险理赔线上审核系统的技术实现
java·spring·github
FutureUniant11 小时前
GitHub每日最火火火项目(9.5)
人工智能·microsoft·计算机视觉·ai·github
CoderJia程序员甲11 小时前
GitHub 热榜项目 - 日榜(2025-09-05)
ai·开源·github·ai编程·github热榜
绝无仅有11 小时前
从拉取代码到前端运行访问:Vue 前端项目的常规启动流程
后端·面试·github