Create a Git repository template

Generate a Git repository template so that you can use it as a blueprint for new repositories. A template is an exact copy of a repository's structure and content.

Note: This functionality is available only with the PulseUno Git server.

To create a Git repository template:

  1. Compress the repository's directory with all its contents into a zip file.

    By default, you can find the repository's files in your Git server's git_data\repositories directory:

    Windows C:\ProgramData\OpenText\PulseUno\git_data\repositories\<auto-generated-repo-name>
    Linux /opt/opentext/pulseuno/data/git_data/repositories/<auto-generated-repo-name>
  2. Copy the zip file to the pulse_data\conf\gitserver-templates directory on your PulseUno server, for example:

    Windows C:\ProgramData\OpenText\PulseUno\pulse_data\conf\gitserver-templates
    Linux /opt/opentext/pulseuno/data/pulse_data/conf/gitserver-templates
  3. To make the template available in the web interface, restart Common Tomcat.

You can now create a Git repository using this template. For details, see Create a Git repository.

Back to top

See also: