Working with Git repositories

You might want to add another repository to your project or edit the repository settings, by selecting a folder to scope the access to a subset of the repository, by changing the credentials, or by removing references to the repository.

The following tasks explain how to work with Git repositories.

Adding another repository

When you created a project, you probably added repository. If you did not add a repository when you created a project, or you want to add another repository you can do so now.

For more information about adding one or more repositories to your project, see Adding repositories.

Editing or deleting a repository

You can edit, or delete the repositories configured under a project anytime after you have added the repositories in your project. You can provide the new authentication values if it was changed for any reason to retain your access to the repository. You can choose a particular branch and also specific folder in the edit mode. You can delete repositories that you no longer require in your test environment.

Before you begin

  • You must have configured the repository that contains the test assets in your project. See Accessing test assets from a server project.
  • You must be a project owner or a member with access to edit or delete repositories.

About this task

You can edit or delete a repository that you have a configured to your project.


  1. Log in to HCL OneTest Server.
  2. Open your project and go to the repositories page. You can see list of repositories that you added to your project.
    • To edit a repository, continue with the next step.
    • To delete a repository, go to Step 4
  3. Edit a repository by clicking the Menu icon menu icon and selecting an option.
    1. To change the Git repository credentials or SSH key, click the Key icon Edit repo icon. Enter the new credentials.

      The new credentials get updated, which ensures your access to that repository.

    2. To change an existing branch of the repository, click the Edit icon Edit branch. Select a different branch in the repository.
      Note: After you change the branch, you cannot access the test assets available from the earlier selected branch.
    3. To select a folder or change an existing folder that contains the test assets, click the Folder icon Change folder. Select a folder in the repository.
      Note: If you select a different folder, you cannot access the test assets available from the earlier selected folder.

Deleting a repository

  1. To delete a repository, click the Delete icon Delete a repo icon.

    The repository is deleted and removed from the list.


  • You updated the Git repository credentials.
  • You changed the branch and folder of the repository.
  • You deleted an existing repository from your project.

What to do next

After you have edited the Git credentials, you can continue accessing the Git repository and the test assets. If you have deleted the Git repository, you cannot access the test assets available under that repository.