Create a Git repository template

You can generate a Git repository template for use 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 directory, for example:

    C:\ProgramData\Micro Focus\PulseUno\git_data\repositories\<auto-generated-repository-name>

  2. Copy the zip file to the gitserver-templates directory on your PulseUno server, for example:

    C:\ProgramData\Micro Focus\PulseUno\pulse_data\conf\gitserver-templates

  3. To make the template available in the web interface, restart Common Tomcat.

For details about creating Git repositories, see Create a Git repository.

Back to top