Why does GitHub use the word fork

GitHub: Make your fork your "own project"


I found a nice GitHub project that I expanded a lot. I think my changes are good because they work. However, it appears that the original writer does not have the time to review and incorporate these changes. It is even possible that the features that I need and implement are not in the original author's vision and that we are simply pursuing different goals. I don't know as I never got any answers from him.

That said, I've seen my posts not counting on my commit map. This is the case as long as the original repository does not accept my contributions. Also, my work is only recognized as work and does not attract other people with the same vision as me. This is the bigger problem for me as I see a lot of people asking about these features.

I am still offering my contributions to the original project, but I see that it is unlikely that they will ever be accepted. Now I want to make my fork a "real project". While I plan to sync with the original project at certain points, I want to rename it and encourage people to contribute to my project as well. I would also be happy if GitHub showed that this project is being actively maintained (speaking of commit map). Finally, I'd like to do real publications of it.

How can I do that and make my fork a full-fledged project?


Reply:



To do this, you need to duplicate the repository. The short version is:

  1. Create a new repository on GitHub.
  2. Clone the forked repository that you want to separate from its parent repository.
  3. Move all of the branches in that clone to your new repository.




This is super easy:

  1. Clone the repo somewhere: (make sure you cloned it)
  2. Delete the repo in GitHub (Settings> Options> Delete this repository)
  3. Create a new empty repo on GitHub
  4. (If you used the same name for the repo then == 👍🏻)
  5. 🙌🏻

(I use ssh but if you use https your github urls will look like this)


First you should check if the license allows it. In general, open source enforces this as it is about chainless software development. If so, then just create a new repo. Don't forget to include the original authors and start your project.




We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By continuing, you consent to our use of cookies and other tracking technologies and affirm you're at least 16 years old or have consent from a parent or guardian.

You can read details in our Cookie policy and Privacy policy.