[英]GitLab: How to pull only required folders from git remote repository
I want to pull some components of my project from GitLab remote repository.我想从 GitLab 远程存储库中提取我项目的一些组件。 Is it possible with some remote or local git setting?
是否可以使用某些远程或本地 git 设置?
Note: Can I do it as a single developer not affecting our developers of the project.注意:我可以作为一个单独的开发人员来做,而不影响我们项目的开发人员。
From your topdir do从你的 topdir 做
git fetch
git checkout HEAD path/to/folder
this will do it for you这会为你做的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.