是否可以从远程存储库克隆一个文件夹? [英] Is possible clone only a folder from remote repository?

查看:100
本文介绍了是否可以从远程存储库克隆一个文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要从远程git存储库只下载2个文件夹。在这种情况下是ubuntu内核git存储库。

如果我只想要2个文件夹,则下载所有内核是浪费时间和带宽。

有什么方法可以使用git ?

解决方案

不,您无法创建部分克隆


I want download only 2 folders from remote git repository. In this case is the ubuntu kernel git repository.
Download all kernel is a waste of time and bandwidth if I only want 2 folders.
Is there any way to do this with git?

解决方案

No you can't create a partial clone

这篇关于是否可以从远程存储库克隆一个文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆