Edit branch overview
When you want to create or modify a test resource in IBM® DevOps Test Hub (Test Hub), you must use an Edit branch. An Edit branch is a temporary branch created from the selected branch in the repository configured within the project, where you can save the created or edited resource.
You must be a Team Space Owner, Project Owner, or Member with a Tester role to create or edit a test resource.
When you want to create or edit a test resource, you must first select the branch in the project repository into which you want to add the created resource or the branch that contains the resource you want to edit.
When you create the Edit branch, any project member can use your Edit branch while the branch is available. When you provide a name for the Edit branch, you must adhere to the rules of Git branch naming conventions. For more information, refer to the Git documentation. You can view all the Edit branches from the Branch drop-down list when other project members create Edit branches.
To differentiate the remote branch and Edit branch from the Branch
drop-down list, an edit icon
and the initials of the member who created the Edit branch are shown for the Edit
branch. After you create the Edit branch, you can also view the Edit branch by accessing
the remote Git repository in a browser.
If you want to save the created or edited resource to the branch in the project repository, publish the changes from the Edit branch to the selected branch. When the project repository is replicated automatically to the remote repository, the created or edited resources are then available in the remote repository in the branch they were published. The Edit branch that you used is automatically deleted after publishing, and it disappears from the Branch drop-down list and from the remote Git repository when you perform any of the following actions:
-
Publish changes to the remote Git repository
-
Discard the changes made in all test assets
Note: After the Edit branch disappears, the Branch field is set to the previously selected branch name.