Why do people fork repositories on GitHub? [closed]

I noticed that a lot of GitHub accounts only have repositories which are forked from other accounts. In addition the people who do this usually don’t make any contributions to the forked repositories.

I’ve heard of people collecting stamps and seashells, but why would anybody want to collect repositories? Personally I would only fork a repository if I wanted to make some changes to it.

9

In our line of work we tend to look for technical reasons, but in my opinion the primary reason isn’t technical. If you look at GitHub Help or other GitHub tutorials, forking a repo is one of the major steps for how you “do” GitHub.

When people are learning and evaluating GitHub, just about every tutorial out there is going to tell them to fork a repo as part of that learning process. Since the primary purpose of GitHub is to contribute, a lot of people working through the standard tutorials don’t realize if you just want a read-only clone you don’t have to do a fork first.

7

As you mentioned in your question, people fork repositories when they want to make a change the code, because you
don’t have write access to the original repository (unless you’ve been added as a collaborator by the owner of the repository).

In the forked repository they have write access and can push changes. They may even contribute
back to the original repository using pull requests.

I think there are multiple reasons why people fork repositories but don’t change them:

  • they might fork a repository which looks cool, simply fork it (because it’s easy (only one click)) and want
    to make a change later (and then probably forget it/didn’t have time to do so)
  • they fork a repository to make a change and then discover that the change is unnecessary and forget to delete
    the own repository
  • they might fork a repository because one of the projects depends on an other repository (maybe via submodules) and
    they want total control over the repository used as a dependency (the owners of the original repository might decide to move from github to google code etc.)
  • they might simply forget to push the commits

4

One possible reason: they have running code that depends on those projects and their build process involves pulling the dependencies from github. Having the fork protects them against breaking changes. For projects that don’t tag versions, this is the easiest way to achieve that.

1

The entire point of Github is “social coding”.

Personally, I fork repositories when:

  • I want to make a change.
  • I think the project is interesting and may want to use it in the future, but have no easier way of saving it for later on the device I’m currently using.
  • I want to use some or all of the code in that repository as a starting point for my own project.

Now I’ve heard of people collecting stamps and seashells, but why would anybody want to collect repositories?

Why not?

There’s nothing (that I can think of) that can go wrong from forking repositories for personal pleasure. Honestly, I keep a folder of interesting projects that I see on Github and other places simply for inspirational purposes, and partly because I’m a geek. I understand that I don’t have to fork the project to read the code, but I may actually want to edit that in the future.

Now start forking.

5

I fork a lot of repos that I might want to use the code, or if it’s a project I’m interested in. When I want to come back and have another look at the code later, it’s easier to find if it’s listed under my repositories. I don’t have to google, or bumble around trying to remember what the name was exactly or thinking “where did I see that repo about foo again?” If it’s among my repos it’s easier to be reminded of these things.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật