java - how to clone a specific subdirectory from git using eclipse -


this question has answer here:

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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -