GitHub文件链接带不带协议头都可以,支持release、archive以及文件,不支持项目文件夹。右键复制出来的链接都是符合标准的。更多用法、clone加速请参考这篇文章。
release、archive使用CloudFlare加速,文件会跳转至JsDelivr
分支源码:https://github.com/hunshcn/project/archive/master.zip
release源码:https://github.com/hunshcn/project/archive/v0.1.0.tar.gz
release文件:https://github.com/hunshcn/project/releases/download/v0.1.0/example.zip
分支文件:https://github.com/hunshcn/project/blob/master/filename