Skip to content

How to Create a Fork

Steven David Pillay edited this page Apr 22, 2024 · 2 revisions

What is a Fork?

A fork is an exact clone of the repository that you are trying to contribute. When you start you don't have write access to the repository so you fork the repository thereby creating your own personal copy of the repository where you can make your necessary changes and commit to that repository. Once all the changes are done, you can create a pull request, so that the maintainers can review your changes and either merge it with the repository or request changes.

How to create a fork?

In order to create a fork, navigate to the repository

image

Now click on the fork button.

image

You can either use the same name as the main repo or give it a custom name. You can also either clone only the master/main branch or all the branches. Once you are happy with everything, click on the Fork button.

image

It usually takes a few minutes, once it is done you will be redirected to the fork(the same repository but under your name) and that's it pat yourself on the back as you have successfully created a fork of this repository.

Clone this wiki locally