1

Cloning is not working properly for sub modules. I have a Main git repo and added two repos as sub modules.Inside that submodule repo also i have some repos.

for Eg: Repo main ->submodule repo A(A having two repos as sub modules B and C).

(I executed all the necessary steps for adding and updating sub modules)

While cloning (git clone –recursive git @IP…:Repo main)

It is listing the submodule repo A.Then i did cd A: But is not lising the Repos inside A(ie:B and C).I did git pull also after cloning.

But i am able to clone submodule repo B and C seperately.

user1722227
  • 21
  • 1
  • 7
  • Would cloning -- recursive A alone works? (ie would you see B and C included in A?) – VonC Jan 10 '13 at 13:57
  • While cloning repo A,submodule repo B and C is dispalying.Problem is i am not able to access the repos inside B and C.it is not listing the contents inside B and C – user1722227 Jan 11 '13 at 06:23
  • Is it a branch issue? (http://stackoverflow.com/a/9610153/6309) – VonC Jan 11 '13 at 06:26
  • Can you try a submodule init and update within each submodule, just to see if the content does exist there? (http://stackoverflow.com/a/3796947/6309) – VonC Jan 11 '13 at 06:27
  • I alredy did that.While clonig each repo (sub module repo also)seperately i am able to see all the sb module repos. – user1722227 Jan 11 '13 at 06:33
  • (I meant after cloning --recursive A, not after cloning B and C individually) – VonC Jan 11 '13 at 06:34
  • It is listing B and C while cloning A. – user1722227 Jan 11 '13 at 06:49

0 Answers0