博主最近在拉取代码时候总是出现这个报错
尝试了几种方法
1.在git中运行这行代码,结果还是不行
git config --global http.sslVerify "false"
2.cmd下执行 ipconfig/flushdns,清理DNS缓存
最终成功!
参考:解决fatal: unable to access ‘https://github.com……‘: Failed to connect to - tianxinya - 博客园
fatal: unable to access ‘https://github.com/*******.git/‘: Failed to connect to git-优快云博客