java - how to clone a specific subdirectory from git using eclipse -
this question has answer here:
- how clone subdirectory of git repository? 10 answers
we have git branch huge number of java , sql files (approx. more 50,000+ files). cloning branch local machine taking time (approx. more 30 mins). usually, don't require whole branch code, need sub-directory.
please share information, how clone specific sub directory git using eclipse.
with git can clone repository without checking out branch work directory git clone --no-checkout. git clone entire repository. limit can specify depth, i.e.
after can checkout directories interested in (see how clone subdirectory of git repository?, please pay attention @stijndewitt's comment). if cloning takes long, won't much.
egit, however, not (directly) support cloning without checking out work directory, neither support sparse checkouts
i restructure repository, how of course dependson files for, when used, if/how number can reduced, etc.
Comments
Post a Comment