You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Template repository is a quick way to generate new repositories with the same directory structure, branches, and files. And Github REST API gives a way to using this feature:
Creating and using repository templates is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom media type in the Accept header:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Template repository is a quick way to generate new repositories with the same directory structure, branches, and files. And Github REST API gives a way to using this feature:
I think the change involves:
is_template
property inRepository
classis_template
param inRepository.edit
methodcreate_repo_from_template
Reference:
https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-template-repository
The text was updated successfully, but these errors were encountered: