Saturday, 15 February 2014

git - How to load separately submodules included in a project? -



git - How to load separately submodules included in a project? -

let's have project in git repository 2 submodule , b. clone project , load modules have do

git submodule init git submodule update

this download all module. there's a way select module or module b, without having alter submodules settings on main project?

both git submodule commands (init , update) can take <path>... parameter.

so can try:

git submodule init -- git submodule update -- git submodule init -- b git submodule update -- b

git git-submodules

No comments:

Post a Comment