Github repo folder structure

Hi all,
Happy new year !!

When I upload project-wise repos (i.e. a local .git file for each project) on github, my github account looks like:

myGitHubName
|_proj1
|_proj2
|_proj3

But on my mac, I store all projects in a folder called ‘cwc’. So I would like to create my github repo like:

myGitHubName
|_cwc
…|_proj1
…|_proj2
…|_proj3

For this, what I am presently doing is that, I keep my local repo (.git file) in ‘cwc’ and I use a terminal (not on xcode) to add / commit / push manually on the terminal.

It is okay, but is preventing me from experiencing the convenience of using github from inside xcode. Kindly let me know if there is a better way out. Look forward !!

Regards,
Siddhartha

You should have a single GitHub repo for each project

Lock ally that’s fine to keep all your different projects under a cwc folder. But each project should have its own GitHub repo.

You shouldn’t necessarily connect them all together into a single GitHub project. (You can, but overall it’s not ideal)

Thanks @mikaelacaron.

1 Like