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
相关推荐
AC使者13 小时前
介绍 TensorFlow 的基本概念和使用场景。
开发语言·自然语言处理·sqlite·github
JustHappy13 小时前
「我们一起做组件库🌻」做个面包屑🥖,Vue的依赖注入实战💉(VersakitUI开发实录)
前端·javascript·github
桃木山人16 小时前
BigData File Viewer报错
大数据·java-ee·github·bigdata
逸Y 仙X19 小时前
Git常见命令--助力开发
java·大数据·git·java-ee·github·idea
007_rbq20 小时前
XUnity.AutoTranslator-Gemini——调用Google的Gemini API, 实现Unity游戏中日文文本的自动翻译
人工智能·python·游戏·机器学习·unity·github·机器翻译
非 白1 天前
【后端】gitHub访问速度太慢解决办法
github
dringlestry1 天前
pycharm将当前项目上传到github
ide·pycharm·github
油泼辣子多加2 天前
2025年02月17日Github流行趋势
github
徐小夕2 天前
H5-Dooring零代码搭建:从开源到商业化的4年蜕变
前端·javascript·github
QQ3596773452 天前
Github开源AI LLM大语言模型WebUI框架推荐
人工智能·开源·github