1

I created a react app on an express server and it seems that none of the client folder is being pushed to github correctly, I have no idea why it wont add when I run git add . and push it.

1 Answers1

0

Check if the client folder has a .git subfolder in it: that would make it a nested repository, in which case you would only push a gitlink (special entry in your index), instead of the folder content.

If you don't need the history of that client folder (just its file), you could simply rename or delete that nested .git folder, and then the add/commit/push would actually include the client folder files.

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