git不能正常clone代码

报错:

fatal: unable to access 'https://github.com/ruanwenjun/JAVAWeb-Project.git/': Re
cv failure: Connection was aborted

解决办法:

1.在git中执行

   git config --global --unset http.proxy

   git config --global --unset https.proxy

2.在电脑终端执行:

  ipconfig /flushdns

  清理DNS缓存

 

posted @ 2023-11-01 15:37  OooheNcy  阅读(82)  评论(0)    收藏  举报