从远程仓库获取所有更新,并保存在本地时,使用git fetch 命令时出现如下错误:

原因:

解决办法:
重置代理
git config --global --unset https.https://github.com.proxy
git config --global --unset http
在尝试从远程仓库获取GitHub更新时遇到gitfetch命令的gnutls_handshake错误。问题根源是TLS连接异常终止。文章提供了解决方案,即通过重置代理设置来修复问题:使用命令`gitconfig--global--unsethttps.https://github.com.proxy`和`gitconfig--global--unsethttp.https://github.com.proxy`,成功解决了获取他人代码时的报错问题。
从远程仓库获取所有更新,并保存在本地时,使用git fetch 命令时出现如下错误:

原因:

解决办法:
重置代理
git config --global --unset https.https://github.com.proxy
git config --global --unset http
8396
7109
6万+
3596
1964

被折叠的 条评论
为什么被折叠?