0

I push a repo containing 2 folders - a Nodejs backend and a react client. On push, I would notice that the client frontend isn't highlightable. It would show an arrow instead.

Here is what it looks like:

enter image description here

Any idea what went wrong?

Paschal
  • 725
  • 1
  • 9
  • 17
  • 3
    Does this answer your question? [GitHub folders have a white arrow on them](https://stackoverflow.com/questions/62056294/github-folders-have-a-white-arrow-on-them) – rufer7 Nov 12 '20 at 06:33

1 Answers1

1

This happens when you have nested git repositories. They are called Git submodules. Your folder structure look like this:

.
├── .git
├── client
│   └── .git
└── backend

If you want to keep everything under one repository, with no Git submodules, you can simply delete client/.git.

Ruan Martinelli
  • 364
  • 3
  • 10