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
相关推荐
峰向AI11 小时前
学生党/打工人必备:AI自动把课程视频变成讲义
github
其实防守也摸鱼14 小时前
教育信息技术应用创新---基础软件信息赛
运维·服务器·数据库·github·copilot
0xR3lativ1ty17 小时前
AI本地部署工具火热趋势
github
LlmCraft|大模型工程实践19 小时前
14. CI/CD 流水线中集成 Docker:GitHub Actions 自动构建部署
ci/cd·docker·github
hulihutu4419 小时前
拒绝延期、bug、货不对板:2026 管理系统定制开发落地保障手册
github·bug·鸿蒙系统·数据库管理员
隔窗听雨眠19 小时前
活动中台系统慢SQL治理实践:从监控告警到性能优化的全链路方法论
sql·性能优化·github
m4Rk_20 小时前
【论文阅读】Agent 记忆机制(60):MemInsight——让 LLM 自动为历史记忆生成语义索引
论文阅读·人工智能·学习·开源·github
小弥儿1 天前
开源 VoiceStudio,声音克隆|配音|有声书一站式本地完成
学习·开源·github
问天_观心1 天前
大模型微调学习(一)
开发语言·人工智能·学习·语言模型·github
峰向AI1 天前
SRT 白板动画:让字幕「画」出故事
github