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
相关推荐
m4Rk_1 天前
【论文阅读】Agent 记忆机制(151):DUNE——让源事实更新沿依赖图传播到派生记忆
论文阅读·人工智能·学习·开源·github
这里是北京1 天前
GitHub仓库推荐:Obsidian Skills,让AI把项目笔记组织成可追溯的知识图
笔记·github
赤生云电竞2 天前
网吧无盘系统上云:PXE 与云桌面混合部署实践 —— 基于iPXE、iSCSI与NVIDIA vGPU的架构选型
架构·github
爱嘿嘿的小黑2 天前
用 Google Antigravity 踩遍登录和环境坑后,我开源了个 30 秒只读体检脚本 + Agent Skill
人工智能·python·github
逛逛GitHub2 天前
7 天 Star 增长超 1000 的新 GitHub 项目,这一波质量很高。
github
CoderYanger2 天前
Java EE 进阶:16. Spring原理(第一弹)
java·服务器·数据库·后端·spring·java-ee·github
徐小夕2 天前
JitKnow 5.0发布:让AI知识库变成可组装的知识中台
前端·vue.js·github
钱栈up2 天前
GitHub 热榜实测|sherlock 环境部署实录
python·开源·github
粥里有勺糖3 天前
视野修炼-技术周刊第139期 | AI 不会让时间变多
前端·github·ai编程