Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How long should I keep my fork projects on github?

Tags:

git

github

When I have a feature request on a library in github, I would either

  • try to contact the author
  • and/or implement it myself on a local copy, and when I am done, fork the project and push my changes.

More often than not, the original authors are happy to see the enhancements, and they'll either pull them as is, or merge them manually after some modifications.

The question is, what should I do with my fork projects after my commits have been accepted by the upstream? If I am not going to make any further updates, should I delete the repository? Or, should I keep it around for historical interest?

github does not really indicate whose copy is the "definitive" repository, so my inactive forks may distract other people from finding the right copy. In fact, I just got a pull request form someone, which was also accepted at the upstream.

like image 374
Eugene Yokota Avatar asked Aug 27 '10 03:08

Eugene Yokota


People also ask

When should a fork be repossessed?

Most commonly, forks are used to either propose changes to someone else's project to which you do not have write access, or to use someone else's project as a starting point for your own idea. You can fork a repository to create a copy of the repository and make changes without affecting the upstream repository.

Is it OK to fork GitHub?

Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.

Does forking keep history?

Yes. If the original repository gets deleted, then the fork keeps all its commits, including the past commits. However, you will loose the line saying Forked from <User name>/<repository name> , i.e. there will be no more link to the original, now deleted, repository on GitHub.


1 Answers

If I have no interest in being an active contributor or developer, I usually delete mine after the patch has been accepted upstream. I don't see a need to keep the repo around for historical reasons -- the commit will already have my name and email, and the timestamp of the commit, so that seems to be all the historical record it really needs.

like image 93
mipadi Avatar answered Sep 18 '22 08:09

mipadi