3

This is an image of my GitHub page

I am trying to push multiple folders onto GitHub. However after pushing the local repository to GitHub, I can't open the folder "React_Projects" folder. There is an arrow on the folder instead and I can't click on it.

Why can't I open the folder and what am I doing wrong?

Harry J
  • 1,842
  • 3
  • 12
  • 28
Tanmay Arora
  • 31
  • 1
  • 2
  • Have a look at this, it might help https://stackoverflow.com/questions/62056294/github-folders-have-a-white-arrow-on-them – Sharvin Aug 17 '20 at 04:23

2 Answers2

2

That icon is to indicate a git submodule, which has a link to the commit of another git version-controlled project/repository. You can read more about git submodules here.

You can also go to that folder and go to view -> hidden items and click it. check if you see a .git hidden folder. if you do just delete it and push again. that should solve it.

0

I solved the problem by deleting .git folder inside subfolders (Hidden files and folders). You should have only one .git in the root folder.

I used This link to know how I can delete a .git folder from my subfolders of the project.

Cyebukayire
  • 795
  • 7
  • 14