Skip to content

Using the Template

Hugo Gruson edited this page Jul 18, 2023 · 3 revisions

Via the GitHub web interface

GitHub provides a detailed documentation on how to create a repository from a template: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template

Screenshot of the "Use this template" button in GitHub web interface for GitHub templates

Via the gh command line utility

Install the Github command line client gh following the instructions for your OS here: https://github.com/cli/cli. Run gh auth login to link your device with your Github account the first time you use the CLI.

Once installed and authenticated, run:

gh repo create epiverse-trace/mypackage --public --template=epiverse-trace/packagetemplate

Clone the repository as usual using your preferred method.