Windows環(huán)境下,需要到官網(wǎng)下載git,到指定文件夾中打開git bash。
輸入命令
git clone https://github.com/NVIDIA/apex.git
時會報(bào)錯。
原因可能是默認(rèn)配置了https代理,這里需要改為git協(xié)議。
解決方法:
1:確保VPN打開的情況下,打開系統(tǒng)設(shè)置->網(wǎng)絡(luò)和Internet->代理。找到自己的代理IP,如下:
?
2:在git bash 中依次輸入以下指令
git config --global http.proxy http://127.0.0.1:4780
git config --global git.proxy http://127.0.0.1:4780
git config --global --unset https.proxy
問題得到解決。
繼續(xù)執(zhí)行g(shù)it clone https://github.com/NVIDIA/apex.git
成功下載!文章來源:http://www.zghlxwxcb.cn/news/detail-512724.html
參考博客git clone出現(xiàn) fatal: unable to access.......文章來源地址http://www.zghlxwxcb.cn/news/detail-512724.html
到了這里,關(guān)于解決fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!