Creating template repositories from a template repository #14908

Open
opened 2025-11-02 11:25:36 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Mo0rBy on GitHub (Aug 27, 2025).

Feature Description

I think it would be great if it was possible to create a new template repository from an existing template repository.
For example, I have a template-repo-basic template repository with some minimal stuff in (.pre-commit-config.yaml and a simple README). I would like to create service specific templates from this, so to create a template-repo-java-springboot template repository that can then have additions made to it for a Java SpringBoot app.

template-repo-basic > template-repo-java-springboot > a-real-java-springboot-repo (not a template)

Screenshots

No response

Originally created by @Mo0rBy on GitHub (Aug 27, 2025). ### Feature Description I think it would be great if it was possible to create a new template repository from an existing template repository. For example, I have a `template-repo-basic` template repository with some minimal stuff in (`.pre-commit-config.yaml` and a simple `README`). I would like to create service specific templates from this, so to create a `template-repo-java-springboot` template repository that can then have additions made to it for a Java SpringBoot app. `template-repo-basic` > `template-repo-java-springboot` > `a-real-java-springboot-repo` (not a template) ### Screenshots _No response_
GiteaMirror added the topic/repotype/proposal labels 2025-11-02 11:25:36 -06:00
Author
Owner

@Mo0rBy commented on GitHub (Sep 5, 2025):

Ok so I might have been a bit tired when I created this.
So you can create a new template repo from a template repo already, but you need to go into the newly created repo settings and select the "Make repository a template" checkbox. This then makes it a template repository.

Image

I'll leave this issue open still, because it would be a nice to have feature to do this directly, rather than needing to go into the repository settings afterwards.

@Mo0rBy commented on GitHub (Sep 5, 2025): Ok so I might have been a bit tired when I created this. So you can create a new template repo from a template repo already, but you need to go into the newly created repo settings and select the "Make repository a template" checkbox. This then makes it a template repository. <img width="1036" height="238" alt="Image" src="https://github.com/user-attachments/assets/9a188679-5b66-400d-86e8-c3f7aadf595b" /> I'll leave this issue open still, because it would be a nice to have feature to do this directly, rather than needing to go into the repository settings afterwards.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14908