Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation.

Creating a template repository

You can make an existing repository a template, so you and others can generate new repositories with the same directory structure and files.

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Oder, learn how to contribute.

Anyone with admin permissions to a repository can make the repository a template.

To create a template repository, you must create a repository, then make the repository a template. For more information about creating a repository, see "Creating a new repository."

After you make your repository a template, anyone with access to the repository can generate a new repository with the same directory structure and files as your default branch. For more information, see "Creating a repository from a template."

  1. Navigiere in GitHub Enterprise zur Hauptseite des Repository.
  2. Klicke unter Deinem Repository-Namen auf Settings (Einstellungen).
    Schaltfläche „Repository settings" (Repository-Einstellungen)
  3. Select Template repository.
    Checkbox to make a repository a template

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Oder, learn how to contribute.