0

Trying to add a fullstack app to GitHub. In the root I have a client directory (React) and a server directory (Node/Express) and a README.md

When I try git init this and send them to GitHub the Client folder gets an arrow inside of it I cant click it or view it on Github how do I fix this?

This is the arrow on the client folder basically this image:

enter image description here

Mohamed
  • 425
  • 4
  • 14

1 Answers1

0

nested git's are treated as submodules

Not quite, only as gitlinks (reference to a tree SHA1 in the index of the parent repository)

If it was a submodule, the white arrow folder would actually be a link, to the remote submodule repository.

If it is not a link, then, as commented, removing the nested repo .git/ subfolder, adding and committing the folder content, and pushing will be enough.

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