1

I have a project which contains 3 class projects, an API and React project.

I tried to push it to GitHub, the React project turns to a subproject in the project (can not click on it or open it).
Furthermore, I tried to clone the repo, but I get that the project file cannot be found:

not found

white arrow

I tried to add it as a subModule, but I am getting the same result.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Nourhat
  • 11
  • 1

1 Answers1

0

The white arrow on that client-pro folder means it is probably a nested Git repository.

Removing and adding that repository as a submodule is a good option, provided you push first the client-pro repository.

Once it is pushed, make sure you add client-pro (no trailing slash), commit and push. This time, you should see a commit, indicating an actual submodule accessible through its gitlink.

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