Forking refers to creating a copy of a repository for your own use. Forks allow you to do independent development because any changes you make to the fork do not affect the original (parent) repository. Helix TeamHub supports forking of Git and Mercurial repositories.
Note: Creating a fork requires read privileges to the parent repository and the privileges to create a repository in the target project. For more information, please see the project & repository roles section.
For information on how to merge your changes back into the parent repository, see the pull requests section under Code Reviews.
To create a fork:
- Navigate to the project.
- Navigate to the repository you would like to fork.
In the repository tree view, click the fork icon. The dropdown list next to the button lists any existing forks.
In the Create a fork form, select the project into which you would like to fork the repository.
(Optional) Specify a different name for the fork. By default, the fork has the name of the parent repository.
Click Create. TeamHub displays the newly created repository.
Now you can clone the repository and start making changes.