[英]How to download git repository without using git
我通过遵循一些教程来学习git,但是我想要一个git仓库来练习相同的东西。
但是由于防火墙或其他原因,此命令不起作用
$git clone git://git.kernel.org/pub/scm/git/git.git
相反,我可以将回购作为压缩文件下载吗,还是因为URL显示为带有目录的html页面而如何递归下载?
你可以做
wget --no-check-certificate -O kernel.zip https://github.com/repo/repo/archive/branch.zip
unzip kernel.zip
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.