fatal: unable to connect to github.com:

最近想要從 github clone 下來時,居然出現「fatal: unable to connect to github.com:」的錯誤,

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false  ...
Cloning into 'C:\AuthenticationTicket-SlidingExpiration'...
warning: templates not found ...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=No error
github.com[1: 192.30.253.113]: errno=No error
 

後來下 

git config --global --list 

看一下我 git 的設定,如下,

結果之前加了一堆 https:// instedof git:// 的設定,

後來將那些刪掉,再重新 clone 就可以了 ... ^_^ 

Hi, 

亂馬客Blog已移到了 「亂馬客​ : Re:從零開始的軟體開發生活

請大家繼續支持 ^_^