2010开始,对于GitHub上的每一个Git版本库,现在都可以用SVN命令进行操作,而svn命令则是支持部分检出的。

方法如下:

例如我想下载我的nginxinc/kubernetes-ingress项目的deployments目录
(1)在github上点开这个目录,浏览器地址栏可以得到这个地址
        https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments
(2)将上面地址里的tree/master换成trunk,然后用svn co检出
   svn co https://github.com/nginxinc/kubernetes-ingress/trunk/deployments

 

  

 

相关文章:

  • 2021-07-20
  • 2021-05-03
  • 2021-12-29
  • 2021-05-21
  • 2021-06-17
  • 2021-09-10
  • 2021-08-22
猜你喜欢
  • 2021-12-03
  • 2022-12-23
  • 2021-09-09
  • 2021-12-12
  • 2021-06-24
  • 2021-10-31
相关资源
相似解决方案