濮阳杆衣贸易有限公司

主頁 > 知識庫 > 解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題

解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題

熱門標簽:地圖標注項目幾個月 聯(lián)通外呼系統(tǒng)電腦app軟件 宿遷怎么辦理400電話 谷歌地圖標注日期 鶴壁高頻外呼系統(tǒng)多少錢一個月 400電話申請到底哪家好 外呼系統(tǒng)怎么群發(fā)短信 400電話辦理費用低 蘇州呼叫中心外呼系統(tǒng)哪家強

昨天公司的網(wǎng)絡更換,然后在使用git操作代碼的時候,遇見了標題所述問題。

僅以此文,記錄該問題的解決過程。

首先第一步:

 得到本機的IP地址。

第二步:ping一下

  說明連接正常。

第三步:

找到git目錄下的 hosts文件。

一般目錄為 C:\Program Files\Git\etc

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

在該文件下 添加 192.168.1.117 github.com

此處的IP 替換為自己的IP即可

 修改之后 如上圖所示。

總結

到此這篇關于解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題的文章就介紹到這了,更多相關Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

您可能感興趣的文章:
  • Git建立本地倉庫并上傳到Gitee的詳細步驟
  • Gitee的下載安裝配置及使用步驟詳解
  • 微信小程序使用gitee進行版本管理
  • Python自動化運維和部署項目工具Fabric使用實例
  • Python自動化部署工具Fabric的簡單上手指南
  • Python的自動化部署模塊Fabric的安裝及使用指南
  • 使用Gitee自動化部署python腳本的詳細過程

標簽:莆田 鄂爾多斯 雙鴨山 錫林郭勒盟 襄陽 丹東 哈爾濱 遵義

巨人網(wǎng)絡通訊聲明:本文標題《解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題》,本文關鍵詞  解決,Unable,access,amp,#39,https,;如發(fā)現(xiàn)本文內(nèi)容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題》相關的同類信息!
  • 本頁收集關于解決Unable to access 'https://gitee.com/自己的項目/': Could not resolve host: gitee.com問題的相關信息資訊供網(wǎng)民參考!
  • 推薦文章
    浪卡子县| 潍坊市| 中西区| 迭部县| 灌南县| 兴城市| 浮山县| 正镶白旗| 二连浩特市| 广东省| 榆社县| 贡嘎县| 兴山县| 阿荣旗| 湘乡市| 辛集市| 丰都县| 襄垣县| 宣恩县| 偏关县| 建始县| 松潘县| 宁河县| 诸城市| 舒城县| 龙南县| 洛宁县| 菏泽市| 都昌县| 枣阳市| 兴山县| 义乌市| 土默特左旗| 滨海县| 儋州市| 监利县| 萝北县| 丹东市| 息烽县| 涟水县| 定远县|