解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset
生活随笔
收集整理的這篇文章主要介紹了
解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Windows環(huán)境下,需要到官網(wǎng)下載git,到指定文件夾中打開git bash。
輸入命令
git clone https://github.com/NVIDIA/apex.git時(shí)會(huì)報(bào)錯(cuò)。
原因可能是默認(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:4780git 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
成功下載!
參考博客git clone出現(xiàn) fatal: unable to access.......
總結(jié)
以上是生活随笔為你收集整理的解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Word字间距怎么调整?2023最新方法
- 下一篇: qemu虚拟机模拟固件环境搭建