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
相关推荐
逛逛GitHub5 小时前
断网也能跑的小龙虾,EdgeClaw 在 GitHub 上开源了。
github
Uncertainty!!6 小时前
将docker镜像上传到github镜像存储仓库(GitHub 容器仓库(GHCR)使用流程)
docker·容器·github
赵文宇(温玉)8 小时前
Openclaw-In-Docker新版本发布,更轻、更快、更健壮,1600+次下载,30+Github关注
docker·容器·github·小龙虾·clawclaw
CoderJia程序员甲8 小时前
GitHub 热榜项目 - 日榜(2026-03-23)
ai·大模型·llm·github·ai教程
badhope8 小时前
Docker入门到实战全攻略
linux·python·docker·github·matplotlib
用户97514707513610 小时前
双向绑定VUE,单向绑定react区别
github
虎头金猫10 小时前
小米摄像头本地化存储教程:Go2RTC+EasyNVR 搭建私有监控系统
langchain·开源·github·aigc·智能家居·开源软件·ai编程
用户97514707513611 小时前
在 Vite 中配置 CSS 模块时,如何处理不同 CSS 模块之间的冲突?
github
汪海游龙11 小时前
03.24 AI 精选:2小时从零训练26M参数GPT的教学项目
github
苦瓜小生11 小时前
AI-TestHub:我如何从零开发一个智能测试用例生成平台
人工智能·python·测试工具·github·测试用例·fastapi