git clone失败的解决方案
git clone https://github.com/Wesley1999/binance_quant.git
有时候由于网络问题,无法访问github
可以使用镜像网站解决,在github
后面加上fast
git clone https://githubfast.com/Wesley1999/binance_quant.git
但是对于私有仓库,会出现没有权限的问题,需要生成access token
访问https://github.com/settings/tokens/new
有效期可以选择长期,repo需要勾上
生成后即可clone
私有仓库
git clone https://<username>:<access_token>@githubfast.com/Wesley1999/binance_quant.git
Reference
https://github.com/runningcheese/MirrorSite?tab=readme-ov-file
https://ghproxy.com/
发表回复