TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How I Organize My GitHub Repositories

76 pointsby aicioaraover 6 years ago

14 comments

prependover 6 years ago
This is nice that op gets value. But github has a search feature. Google searches pretty well. I rarely browse user accounts and if someone looked at my account and cared because I had forked stuff, then I consider it a bonus that they exclude me from their job search.<p>There ar different philosphies to githubbing, the mistake is only when you project your own onto perceiving another’s.
JoshTriplettover 6 years ago
I would love to see folders available beneath users and organizations. When a company puts repositories underneath github.com&#x2F;companyname they all go in one giant pile; subfolders would allow organizing components of projects into folders.
ocdtrekkieover 6 years ago
I would be kind of worried that a project under an organization may not be seen as &quot;my project&quot; when someone like a recruiter was looking at my profile.<p>I am really excited by what <a href="https:&#x2F;&#x2F;ghuser.io" rel="nofollow">https:&#x2F;&#x2F;ghuser.io</a> is working on, and really hope GitHub takes more inspiration from them on how to arrange a profile, as it orders projects (whether mine, someone else&#x27;s, or an organization&#x27;s) by a score calculated based on the popularity of a project and how much you&#x27;ve contributed to it personally.
评论 #18880227 未加载
meagherover 6 years ago
Cool to see.<p>I do something similar. My main account is @tmm (<a href="https:&#x2F;&#x2F;github.com&#x2F;tmm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmm</a>) and my deprecated projects are in an org @tmm-archive (<a href="https:&#x2F;&#x2F;github.com&#x2F;tmm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmm</a>). Also put my data science university work in an org @tmm-ms (<a href="https:&#x2F;&#x2F;github.com&#x2F;tmm-ms" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmm-ms</a>).
kenover 6 years ago
&gt; Fourth, another fork, but this time nothing has been updated for over a year. I guess the user pressed fork by mistake?<p>A guess: they submitted a PR, and upstream never got around to merging it. My understanding is that the PR points to the fork, so if I delete my fork, the PR dies (or loses its content). Is that true?
评论 #18880519 未加载
chiefalchemistover 6 years ago
&gt; &quot;Group repositories together using Organizations&quot;<p>I&#x27;ve done this in the past. But then decided GitLab&#x27;s ability to nest groups (i.e., have a hierarchy) made more sense. When I made the switch, GL had free private repos as well.<p>Sure GH is bigger. But GL was &#x2F; is a better tool for my needs.
评论 #18880478 未加载
paulirishover 6 years ago
Occasionally I use <a href="https:&#x2F;&#x2F;github.com&#x2F;denis-sokolov&#x2F;remove-github-forks" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;denis-sokolov&#x2F;remove-github-forks</a> to remove all the forks I&#x27;ve created that no longer need to exist.
swaggyBoatswainover 6 years ago
I don&#x27;t see the value in having so many organizations. This makes searching things harder. Github has search based features for finding repos you&#x27;ve made. If you have an organization seperating out these, it&#x27;s no longer a one click search. I use github to search through my old codebases to extract useful code snippets from courses.<p>You can pin 6 repos on your profile. If you want someone to see those projects, pin it up there. It shows where the repo originated from<p>If you want to put all your tutorial code together, copy the end results into a &#x2F;sandbox folder in github, and document the README to summarize how the repo is organized.<p>Projects that have no relevance &#x2F; tutorials should just be kept private, you could summarize courses you&#x27;ve done elsewhere. Sometimes I have exposed keys on there that I hadn&#x27;t set an `env` variable, keeping things private is a good practice against bots<p>I tend to fork a lot of repos without intending to push a PR, mostly so I can understand how that codebase works, and add my own notations to it. Also, it&#x27;s to keep a backup for projects I work through other organizations, there&#x27;s a chance that repo might be deleted down the road. You can always `git pull upstream` at anypoint and grab the latest changes<p>If you want to show opensource projects you work on → pin it to your account, notate it elsewhere (e.g. portfolio page), and be on the contributor&#x27;s page for that opensource repo
jamessbover 6 years ago
It seems like the repository type in GitHub already handles several of these cases.<p>A user&#x27;s list of repositories can already be filtered by &quot;type&quot;, and this handles several of his cases:<p>&gt; aicioara-forks — Projects I contributed to. Anything that I pressed “fork” on goes here.<p>These gets automatically classified as type &quot;Forks&quot;.<p>&gt; aicioara-old — Repositories that contain code I may want to refer to later, but I do not really want to be associated with. Maybe it’s a high school or university project with no stars and which no longer reflect the way I code. I don’t have time to update them, I still need to refer to them sometime, but I don’t want them to say “hey, this is how Andrei is coding today”.<p>These can be marked as &quot;Archived&quot; (<a href="https:&#x2F;&#x2F;help.github.com&#x2F;articles&#x2F;archiving-a-github-repository&#x2F;" rel="nofollow">https:&#x2F;&#x2F;help.github.com&#x2F;articles&#x2F;archiving-a-github-reposito...</a>)<p>This leaves the &quot;boilerplate&quot; and &quot;gh-pages&quot; categories, which could be indicated by adding prefixes to the corresponding repo names. If the boilerplate code is not intended to be generally useful it could be put in a private repository (especially as all users now have an unlimited number of free private repos
tracker1over 6 years ago
If you do a web edit&#x2F;pr, github will create a fork on your account for that PR... this happens to me if I do a quick readme submission (a few times a month) ... I go in every few months and constantly surprised the number of lingering forks I have. I really wish that if the fork was created to do a documentation edit in the web interface, when the PR is requested, if the only things in the fork are that edit, it would just vacuum it away for me.<p>Aside: I&#x27;ve also forked repos just to remember to look at them later. I really need to get in the habbit of curating my browser bookmarks better... I don&#x27;t trust them though as the syncing has sometimes borked them.
jwilbsover 6 years ago
I find it very hard to believe any recruiter&#x2F;interviewer would be turned off that my top 6 repos featured a mix of popular and unpopular, personal and forked repos.<p>Limiting exposure of my open-source contributions to organizations adds not only another layer of search, but the opportunity for me to get passed up because my contributions to ___ weren’t immediately apparent.
julvoover 6 years ago
TLDR: Use organisations as folders for repositories
3KQgt0Clover 6 years ago
Private repositories are now free to use by the way.
dspokaover 6 years ago
Something I came across for this : <a href="https:&#x2F;&#x2F;app.astralapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;app.astralapp.com&#x2F;</a>
评论 #18882744 未加载