1

Repo A has several branches on it which were un merged. Repo B has several folders within it. Moved repo A into the folders inside the Repo B and now it shows as submodule and can't be opened on github. However, the original Repo A still exists outside the repo B. currently it's like this:

 Repo A ---- has many branches un merged.

 Repo B/ folder xyz/ Repo A(it looks grey like submodules and can't be opened)

an image of how it looks and can't be opened:
enter image description here

Deke
  • 4,451
  • 4
  • 44
  • 65

1 Answers1

2

If it cannot be opened, the react folder is likely to be a gitlink (special entry in the index of the main repo)

If you don't have a .gitmodules file in your main repo, then this gray folder is not actually a submodule, but a nested git repo (meaning just a SHA1, without any idea of the repo actual remote url).

You could convert it into an actual submodule: in that case, it would still be a gray folder, but this time with a link associated to it: see "Working with submodules":

https://cloud.githubusercontent.com/assets/2077/12631413/ce5590e2-c516-11e5-803b-116c5ac2d2b5.png

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250