国内有一种加速下载GitHub代码的方法,通过在仓库URL前加上gitclone.com前缀实现。例如,将`git clone https://github.com/huggingface/transformers`替换为`git clone https://gitclone.com/github.com/huggingface/transformers`,下载速度可达1M/s。此方法适用于git clone和git pull命令,但需确认克隆的代码与GitHub一致。
完成下面两步后,将自动完成登录并继续当前操作。