error setting certificate verify locations
# fix
# 使SSL的验证失效,再次提交时要求重新输入github 账号。
git config --system http.sslverify false
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
# 首先是出现该问题可能是上传大小限制
git config http.postBuffer 524288000
# SSl 的验证错误,关闭SSL
git config http.sslVerify "false"
# 关闭全局SSL验证
git config --global http.sslVerify "false"
person token
在生成的时候,没有给出足够的权限。常常导致无法对远端库进行操作。
大陆用户使用Git 的时候,会出现一个有意思的现象
只要是涉及到网络操作:pull,push,clone
Git 网络总是会出现各种问题,包括:TIMEOUT 等常见错误
代理设置
环境:在linux或者windows (git bash)
上都可以使用。
使用clash for windows
作为代理工具设置,所以接口也是默认:7890
注意:clash for windows 是支持linux 系统平台。
https://www.lksr.net/2023/12/clash-for-linux-usage.html
设置代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
git config --global http.sslVerify false
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
设置后效果,可以明显有着提升。
检查代理设置
git config --global http.proxy #查看git的http代理配置
git config --global https.proxy #查看git的https代理配置
git config --global -l #查看git的所有配置
以上就是给Git 实现代理的方式
Tags:
Git教程