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,选择要克隆的仓库,选择要克隆到的本地地址,点击克隆即可。

相关推荐
GISer_Jing9 小时前
Git协作开发:feature分支、拉取最新并合并
大数据·git·elasticsearch
高山莫衣14 小时前
git rebase多次触发冲突
大数据·git·elasticsearch
码农藏经阁14 小时前
工作中常用的Git操作命令(一)
git
kobe_OKOK_15 小时前
【团队开发】git 操作流程
git·elasticsearch·团队开发
码农垦荒笔记15 小时前
Git 安装闭坑指南(仅 Windows 环境)
windows·git
CC码码1 天前
管理你的多个 Git 密钥(多平台多账号)
git·gitlab·github
CC码码1 天前
管理你的多个 Git 密钥(单平台多账号)
git·gitlab·github
大卫小东(Sheldon)1 天前
GIM 1.5发布了! 支持Windows系统了
git·ai·rust
flying jiang1 天前
将大仓库拆分为多个小仓库
git
李boyang10 天前
Git(四):远程操作
git