🌐Network Problems

How to clone a github repository

🇨🇳Similar to the network problems when visit websites like Google in VM, Chinese user couldn't successfully connect with Github so as to clone a repository. Here are some solutions:

  1. through a proxy server

  2. through a mirror website

    • use git clone https://mirror.ghproxy.com/<your target repository https url>

    • For ways of cloning a private repo or use wget & curl to download file, please refer to the reference: github proxy 代理加速 (I promise it's quite esay)

Last updated