简体   繁体   中英

GitLab: How to pull only required folders from git remote repository

I want to pull some components of my project from GitLab remote repository. Is it possible with some remote or local git setting?

Note: Can I do it as a single developer not affecting our developers of the project.

From your topdir do

git fetch

git checkout HEAD path/to/folder

this will do it for you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM