今天提交代码时报错 fatal: unable to access 'https://git.xxxx.com:3000/xxxx.git/': Could not resolve host: git.xxxx.com

网上查了下好像时因为代理的原因,但是我都没有设置代理,然后就报错了,但是之前是没有这个问题的,没有深入的去找原因,只找到了解决办法。

设置代理

git config --global http.proxy

再取消这个设置: 
git config --global --unset http.proxy

然后再push,成功了!

git push origin HEAD时 报错 fatal: unable to access 'https://git.xxxx.com:3000/xxxx.git/': Could not resolve host: xxxx的更多相关文章

  1. git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version.”

    git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompat ...

  2. 下载安装go插件包报错fatal: unable to access 'https://github.com/golang/tools.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

    使用git命令来给vscode安装go插件的时候报错,如下: $ git clone https://github.com/golang/tools.git tools Cloning into 't ...

  3. bower install 报错fatal: unable to access 'https://github.com/angular/bower-angular-touch.git/'类错误解决方法

    bower install时出现很多unable to access 'https://github.com/angular/bower-angular-touch.git/'类似的错误, 方法一:( ...

  4. 使用SSH连接解决git报错:fatal: unable to access 'https://github.com/xxx/xxx.github.io.git/': Proxy CONNECT aborted

    TL;DRs 这个错误的原因和HTTPS的代理配置有关,使用SSH方式连接可以避免这一问题 最近git pull和push的时候总是报错 fatal: unable to access 'https: ...

  5. git error:【fatal: unable to access 'https://github.com/userId/prjName.git/': err or setting certificate verify locations:】

    $ git pull origin master fatal: unable to access 'https://github.com/userId/prjName.git/': err or se ...

  6. remote: Permission to user_name/Code.git denied to other_user_name. fatal: unable to access 'https://github.com/user_name/Code.git/': The requested URL returned error: 403

    Error msg: $ git push remote: Permission to xxx/Code.git denied to xxxxxx. fatal: unable to access ' ...

  7. AS 新安装Android Studio运行项目前报错:Unable to access Android SDK add-on list

    新安装Android Studio运行项目前报错:Unable to access Android SDK add-on list AS启动后,会在默认路径下检测是否有Android SDK,如果没有 ...

  8. fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect to github.com port 443: Timed out

    今天使用git push的时候提示"fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to conne ...

  9. git clone的时候出现 fatal: unable to access 'https://github.com/...':OpenSSL SSL_read: Connection was reset, errno 10054解决方法

    git clone的时候出现fatal: unable to access 'https://github.com/...':OpenSSL SSL_read: Connection was rese ...

  10. fatal: unable to access 'https://github.com/open-falcon/falcon-plus.git/': Peer reports incompatible or unsupported protocol version

    git通过git clone下载github上的资源到机器上,结果出现如题所示的错误. [root@server data]# git clone https://github.com/pingcap ...

随机推荐

  1. GB28181流媒体web直播方案设备信息查询信令分析

    关于LiveGBS GB28181流媒体服务器的部署详见https://www.liveqing.com/docs/download/LiveGBS.html.通过LiveGBS流媒体服务可以实现GB ...

  2. OLED菜单编程实现+普中51单片机

    1 实验现象 2 实验原理(略) 3 系统设计(略) 4 硬件设计(略) 5 软件设计 5.1 主函数 #include "OLED.H" #include "bmp.h ...

  3. 星球助手 v1.5.0 更新发布,功能升级超给力!

    亲爱的用户们,星球助手已升级到v1.5.0 版本-本次更新诚意满满,一系列实用功能与优化内容,只为给大家带来更卓越的使用体验.重要更新内容有: 1 按专栏导出帖子,资料整理超轻松 大家都知道,星球里的 ...

  4. 2022年前端面试题-HTML篇

    加油!!! 1.<img>的title和alt有什么区别? 1.alt: 图片加载失败时,显示在网页上的替代文字 2.title: 鼠标放在上面时显示的文字 3.alt 是必要属性,tit ...

  5. 【Docker】基本介绍

    Docker - 基础 Docker - 基础 Docker简介 什么是Docker 为什么使用Docker Docker基本概念 镜像 容器 仓库 Docker简介 什么是Docker Docker ...

  6. 论文分享-ETEGRec:端到端可学习的物品分词与生成式推荐

    ETEGRec:端到端可学习的物品分词与生成式推荐 摘要 现有生成式推荐多采用"两阶段"范式:先离线构造语义标识(Semantic ID),再以固定标识训练生成器,导致分词器与生成 ...

  7. SOFABoot 入门及基本使用

    1.前言 SOFABoot是蚂蚁金服开源的基于 Spring Boot 的研发框架,它在 Spring Boot 的基础上,提供了诸如 Readiness Check,类隔离,日志空间隔离等能力.在增 ...

  8. Another Redis Desktop Manager(Redis可视化工具)

    1.引言 日常开发过程中,项目常常都会使用Redis来做缓存或者Session服务器,在开发中常常会使用一些可视化工具,如 Redis Desktop Manager.Redis Clent等,但本文 ...

  9. Oracle的坑真多

    Oracle的坑真多 已经淌过的坑有: 1,冷备份.Win32到Win64需要执行若干脚步. 2,逐步打开数据库. 关闭:shutdown 打开:startup nomount   alter dat ...

  10. Windows通过命令检查和删除进程

    在 Windows 系统中,你可以使用以下命令来检测哪个程序占用了 3306 端口(MySQL 默认端口): 方法 1:使用 netstat 命令 netstat -ano | findstr &qu ...