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.

Adding another repository

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

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 a 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.
  • 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

Editing a repository

  1. Edit a repository by clicking the Menu icon menu icon and selecting an option.
    1. Change the Git repository credentials or SSH key. Click the Key icon Key icon. Enter the new credentials.

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

    2. Change an existing branch of the repository. Click the Edit icon Edit icon. 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. Select a folder or change an existing folder that contains the test assets. Click the Folder icon Folder icon. 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. Delete a repository. Click the Delete icon Delete 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.