推送至Github

deploy:

  type: git

  repo: https://github.com/gaoxingyu130/gaoxingyu130.github.io

  branch: main
hexo cl; hexo g; hexo s

当出现:Failed to connect to github.com port 443 after 21103 ms: Couldn’t connect to server,可能是因为开启了系统代理的缘故。

这时候只需要去设置力看看,开启的系统代理的port是多少?

则可以把设置git如下:

git config --global http.proxy http://127.0.0.1:7890

git config --global https.proxy http://127.0.0.1:7890

就会发现又可以愉快的git clone了,并且网速飙升~

注意:修改后可能需要重启一下命令行才能生效