git克隆报错fatal: unable to access ‘https://github.comxxxxxxxxxxx

问题

git在本地克隆github上的仓库

如果报错,遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxxxxxxxx

解决方案

运行:git config --global --unset http.proxy 命令。重启Git Bash

替代方案

安装gitDesktop

Download GitHub Desktop | GitHub Desktop

安装好之后,挂好代理,点击file-clone repository,选择要克隆的仓库,选择要克隆到的本地地址,点击克隆即可。

相关推荐
淡淡的id9 小时前
git的功能分支的base分支错了怎么重新提交
git
Ever_Zhang11 小时前
Git 大文件使用 Git-LFS 管理,推送失败
git·git lfs·gitattributes·git 推送大文件
-曾牛12 小时前
Git Flow
大数据·git·学习·elasticsearch·个人开发
Zfox_13 小时前
Git 进阶之路:高效协作之分支管理
大数据·linux·运维·c++·git·elasticsearch
小生不才yz13 小时前
23. git reset
git
码农小站14 小时前
开发手记 | IDEA代码Push后回退
git
兔六哥15 小时前
当更改新的 git 仓库地址时,不要着急执行 clone 应该先运行这个
git
weixin-a1530030831620 小时前
git常用命令
git
前端小干将1 天前
开发过程中,git常用命令
git
西柚啊1 天前
Git常用命令总结
前端·git