FR: Creating a repo from a template repo via API #7365

Closed
opened 2025-11-02 07:24:06 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @pat-s on GitHub (May 20, 2021).

As title.

Needed to implement a CLI command (tea repo create --template) as in https://gitea.com/gitea/tea/issues/362.

Originally created by @pat-s on GitHub (May 20, 2021). As title. Needed to implement a CLI command (`tea repo create --template`) as in https://gitea.com/gitea/tea/issues/362.
GiteaMirror added the type/featuremodifies/api labels 2025-11-02 07:24:06 -06:00
Author
Owner

@a1012112796 commented on GitHub (May 20, 2021):

@pat-s maybe #12942 is what you need.

@a1012112796 commented on GitHub (May 20, 2021): @pat-s maybe #12942 is what you need.
Author
Owner

@jolheiser commented on GitHub (May 20, 2021):

@pat-s maybe #12942 is what you need.

No, he's referring to using the API to create a repo from an existing template afaik.

@jolheiser commented on GitHub (May 20, 2021): > @pat-s maybe #12942 is what you need. No, he's referring to using the API to create a repo _from_ an existing template afaik.
Author
Owner

@a1012112796 commented on GitHub (May 21, 2021):

okay, I see. ref https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template
I think this is a good first issue.

@a1012112796 commented on GitHub (May 21, 2021): okay, I see. ref https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template I think this is a ``good first issue``.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7365