❔ ✅ [Discussion] Deciding How To Present GitHub Repo
So I've been thinking recently on re-doing the layout of my repo. It's normally just me creating a project, creating the repo and having an endless list of projects that are there, however, I'm torn between continuously doing that or categorizing them. If I go with categorizing, then should I do it by language and then by type of project like
repo/c_sharp/desktop/Todo
or should I just do it like repo/desktop/Todo
? How do you guys have your repo's laid out?31 Replies
Why not just separate repos for separate projects...?
like different logins?
No, different repos
You do realize you can have multiple repositories on Github?
I know about the Main branch, releases, forks, and clones
You can have multiple repositories as well
oh?
that's pretty neat, but couldn't that become a headache?
duuuudeee
No, why? You can search them and all
I know how to make a new repo. I didn't know that was what was meant
but that goes back to my main post.
Make one repository per project would be the answer to your main post, then
instead of just having
github.com/mekasu0124/Todo
github.com/mekasu0124/Diary
i could have something like
github.com/mekasu0124/desktop/Todo
github.com/mekasu0124/desktop/Diary
github.com/mekasu0124/games/console/PhasmoTrivia
github.com/mekasu0124/games/gui/SomeGame
Yeah, but why?
categorization
You can use git submodules I guess?
For example: a person asks am I a programmer. I say yes. They ask if I build desktop apps, or what languages I have knowledge in, and I can point them to the repo
github.com/mekasu0124/desktop_apps
which would be a repo of all of my desktop appsRepositories can have tags
you can just make single repo with links to your project categorized as you like
but generally you'd make a repo per project
this isn't a bad idea
Just upload all separated repositories 1st, and then store them in 1 using submodules. This is only option for "good practice"
Or use your profile to link the repos and categorize them however you wish
I don't think I want to do submodules. I kind of like the idea of the tags
Someone opens your profile, boom, they see
* Games
* Shootergame
* Rougelite
* Match 3
* Desktop
* Todo
* Music player
I could do that with an overall readme file
that's not a bad idea either
Make a repo with the same name as your Github user name
Add a
README.md
Boom, it shows on your profile nowthat's not a bad idea, but I know the double name would drive me nuts due to my issues with double names
thanks for your input guys ❤️
quick question. I've made a repo with my name on it and started a read me. This read me shows on my Overview, however, my question is when I create a new project, do I make a new repository for it, or do I build it within the repo that has the same name as my username?
Yes, you make a new repository
And you can add a link to it to your "profile repository" if you want
and then link it through the read me. awesome. thank you. sorry to bother
Making a single repository for all of your projects will become a headache in the long run
Imagine having 50 projects, someone wants to maybe checkout or help with one of your projects
now they gotta download the whole 50 projects on their disk
just to work with 1
I decided to do that. I've created a repo with the same name as my username, and I'm using that repo's
readme.md
to link all of my projects togetherWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.