【Git】How to clone from GitHub faster in China

Sometimes it’s bloody slow to clone a repository from GitHub in China mainland, so follow the following way to clone the repos from GitHub Chinese mirror site:

Steps:

  1. Just replace www.github.com with www.github.com.cnpmjs.org, like the following example:

    1
    git clone https://github.com.cnpmjs.org/QingShuiXiFan/mysite.git



> This is the end of the article.