Each project can have one or more source code repositories. Before you can create a source code repository, a site administrator must first add one or more SCM servers to the CollabNet TeamForge environment.
  1. Click Source Code in the project navigation bar.

  2. In the list of the project repositories, click Add.

  3. On the Create tab, choose the server on which you want to create the repository.

    Create SVN Repository
    Create Git Repository
  4. Enter a name, display name, and description for the repository. If you plan to use an SCM server that requires approval for new repositories, use the Description field to provide your reason for asking to create this repository.

  5. This field is enabled only if you’ve chosen a Git server. Choose a code review policy option from the REPOSITORY CATEGORY drop-down list. For more information on Gerrit code review policies, see Control Your Code Review Policy.

  6. This field is enabled only if you’ve chosen a Git server. PROTECT HISTORY check box is selected by default. You can disable it, if required. For more information on history protection, see History Protection.

  7. This field is enabled only if you’ve chosen a Git server. Choose values from GIT LFS ENABLED and MAX LFS OBJECT SIZE drop-down lists. For more information, see Set up LFS.

  8. If you want each code commit to be associated with an artifact (or a task or some other work item) necessarily, select Required on commit option next to the Association field.

  9. For security reasons, you may want to restrict email notifications to the essential information. If so, select Hide Details in Monitoring Messages.

  10. To index the content of the repository and to make the repository content available in search results, select Repository content will be available in search results.

  11. Click Create Repository.

Your request for a new repository is submitted. You will receive an email notification when your repository is created or if your request for a new repository is denied.

  • If the SCM server that you chose does not require approval for new repositories, the repository is created.
  • If the SCM server that you chose requires approval for new repositories, a CollabNet TeamForge administrator must approve your repository before it is created.