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
相关推荐
航Hang*3 小时前
VMware vSphere 云平台运维与管理基础——第2章(扩展):VMware ESXi 5.5 安装、配置与运维
运维·服务器·github·系统安全·虚拟化
zh_xuan5 小时前
Visual Studio 上传工程到github
ide·git·github·visual studio
CoovallyAIHub6 小时前
视频理解新范式:Agent不再被动看视频,LensWalk让它自己决定看哪里
算法·架构·github
CoovallyAIHub6 小时前
斯坦福丨AirVLA:将地面机械臂模型迁移至无人机实现空中抓取,成功率从23%提升至50%
算法·架构·github
数据知道8 小时前
《 Claude Code源码分析与实践》专栏目录
python·ai·github·claude code·claw code
逛逛GitHub9 小时前
开源 10 天就飙到 4 万星,这个项目收集了 58 个知名网站样式。
github
anywayuan10 小时前
使用 GitHub Actions 自动化构建和发布 Rust 项目
github
CoderJia程序员甲10 小时前
GitHub 热榜项目 - 日榜(2026-04-12)
ai·大模型·llm·github·ai教程
用户3851784619010 小时前
PR冲突处理和更新流程
github
linux修理工11 小时前
pve 安装桌面xfce并开启vnc
github