Fork突然报错
现象:
Could not resolve hostname github.com: No address associated with hostname fatal: Could not read from remote repository.
原因:需要为fork设置代理
步骤:
1.通过win+R输入%localappdata%\fork\gitInstance打开文件夹
2.找到目录下“版本/etc\ssh\ssh_config”这个文件,使用写字板打开
3.增加如下写法:
Host github.comProxyCommand "C:\Program Files\Git\mingw64\bin\connect.exe" -S 127.0.0.1:7890 %h %p4.保存,问题解决