使用git 要將github 東西給clone 下來,結果CMD回傳給我的結果如下方提示

C:\Users\S.F\Desktop>git clone git://github.com/davidmarble/virtualenvwrapper-win.git
Cloning into 'virtualenvwrapper-win'...
fatal: unable to connect to github.com:
github.com[0: 20.27.177.113]: errno=Unknown error

此時上網查詢『fatal: unable to connect to github.com:

發現其實有不少人有相同的問題

解決方法

在命令提示字元輸入下方指令

git config --global url."https://".insteadOf git://

image

正常了!

 

參考來源

https://qiita.com/task-k/items/6cf9b17e65771fbf9205

 


arrow
arrow
    文章標籤
    解決方法 Git
    全站熱搜
    創作者介紹
    創作者 gamer99122 的頭像
    gamer99122

    菜鳥L的手札

    gamer99122 發表在 痞客邦 留言(0) 人氣()