I'm trying to add multiple project in one repository from Github desktop from Macbook but not able to do it.
While trying to commit it show me this error Failed to add file subfoldername/ to index.
I have tried to figure out and read some answers but not work from terminal as well. Other one i have tried from here.
I have added all my folder in one folder main repository then trying to add.
Is there any other way to do it from Github desktop ?
Or am i missing something. Somebody have idea please suggest something.
Thanks in advance. I'll appreciated if somebody give me some better solution.
Try, from the command line, in a fresh clone of your main repo (assuming your multiple projects are all individual git repositories):
This uses git submodules in order to record references to those projects in your main repository.