C
C#14mo ago
Mekasu0124

❔ ✅ [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
Angius
Angius14mo ago
Why not just separate repos for separate projects...?
Mekasu0124
Mekasu0124OP14mo ago
like different logins?
Angius
Angius14mo ago
No, different repos You do realize you can have multiple repositories on Github?
Mekasu0124
Mekasu0124OP14mo ago
I know about the Main branch, releases, forks, and clones
Angius
Angius14mo ago
You can have multiple repositories as well
Mekasu0124
Mekasu0124OP14mo ago
oh? that's pretty neat, but couldn't that become a headache?
Angius
Angius14mo ago
No description
kurumi
kurumi14mo ago
duuuudeee
No description
Angius
Angius14mo ago
No, why? You can search them and all
Mekasu0124
Mekasu0124OP14mo ago
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.
Angius
Angius14mo ago
Make one repository per project would be the answer to your main post, then
Mekasu0124
Mekasu0124OP14mo ago
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
Angius
Angius14mo ago
Yeah, but why?
Mekasu0124
Mekasu0124OP14mo ago
categorization
kurumi
kurumi14mo ago
You can use git submodules I guess?
No description
Mekasu0124
Mekasu0124OP14mo ago
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 apps
Angius
Angius14mo ago
Repositories can have tags
No description
Anu6is
Anu6is14mo ago
you can just make single repo with links to your project categorized as you like but generally you'd make a repo per project
Mekasu0124
Mekasu0124OP14mo ago
this isn't a bad idea
kurumi
kurumi14mo ago
Just upload all separated repositories 1st, and then store them in 1 using submodules. This is only option for "good practice"
Angius
Angius14mo ago
Or use your profile to link the repos and categorize them however you wish
Mekasu0124
Mekasu0124OP14mo ago
I don't think I want to do submodules. I kind of like the idea of the tags
Angius
Angius14mo ago
Someone opens your profile, boom, they see * Games * Shootergame * Rougelite * Match 3 * Desktop * Todo * Music player
Mekasu0124
Mekasu0124OP14mo ago
I could do that with an overall readme file that's not a bad idea either
Angius
Angius14mo ago
Make a repo with the same name as your Github user name Add a README.md Boom, it shows on your profile now
Mekasu0124
Mekasu0124OP14mo ago
that'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?
Angius
Angius14mo ago
Yes, you make a new repository And you can add a link to it to your "profile repository" if you want
Mekasu0124
Mekasu0124OP14mo ago
and then link it through the read me. awesome. thank you. sorry to bother
UltraWelfare
UltraWelfare14mo ago
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
Mekasu0124
Mekasu0124OP14mo ago
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 together
Accord
Accord14mo ago
Was 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.
Want results from more Discord servers?
Add your server