70

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.

Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319
  • Github does indicate a project is a fork with a small "forked from ..." under the title. Also issues are off by default. – Schwern Jan 18 '15 at 00:31

2 Answers2

70

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.

mipadi
  • 398,885
  • 90
  • 523
  • 479
3

It seems from my personal experience that deleting the forked repository also takes it away from the 'Repositories you contribute to'. Just be aware of it when taking a decision.

nha
  • 17,623
  • 13
  • 87
  • 133
  • 2
    There isn't much value in showing off you contributed to your own fork. So long as the pull request is accepted, the upstream contribution will remain. – Schwern Jan 18 '15 at 00:35
  • 2
    @Schwern Althought I think that there can be situations where there is some value in showing what you care about please note that I am *not* discussing it in my answer. I was just pointing that out as an additionnal information. – nha Jan 18 '15 at 11:35