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
相关推荐
用户4099322502121 小时前
如何让你的FastAPI Celery Worker在压力下优雅起舞?
后端·github·trae
小前端学徒4 小时前
github actions (或本地) 使用RSA登录云服务器
github
SelectDB5 小时前
Doris MCP Server 0.5.1 版本发布
github·apache·mcp
程序媛Dev5 小时前
Kubekey 安装 KubeSphere 劝退?试试 Sealos 这个“一行命令”平替方案
开源·github
掘金安东尼6 小时前
独立开发/自由职业/远程工作:这年头不上班也能过挺好!!
前端·面试·github
寻月隐君17 小时前
Rust 实战:从零构建一个多线程 Web 服务器
后端·rust·github
草梅友仁18 小时前
草梅 Auth 1.3.0 发布与 GitHub 动态 | 2025 年第 32 周草梅周报
开源·github·ai编程
北'辰19 小时前
DeepSeek智能考试系统智能体
前端·后端·架构·开源·github·deepseek
我是哪吒21 小时前
分布式微服务系统架构第164集:架构懂了就来了解数据库存储扩展千亿读写
后端·面试·github