Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 2.44 KB

create-an-assignment-from-a-template-repository.md

File metadata and controls

27 lines (20 loc) · 2.44 KB
title intro permissions versions redirect_from shortTitle
Create an assignment from a template repository
You can create an assignment from a template repository to provide starter code, documentation, and other resources to your students.
Organization owners who are admins for a classroom can create an assignment from a template repository that is public or owned by the organization. {% data reusables.classroom.classroom-admins-link %}
fpt
*
/education/manage-coursework-with-github-classroom/using-template-repos-for-assignments
/education/manage-coursework-with-github-classroom/create-an-assignment-from-a-template-repository
Template repository

You can use a template repository on {% data variables.product.github %} as starter code for an assignment on {% data variables.product.prodname_classroom %}. Your template repository can contain boilerplate code, documentation, and other resources for your students. For more information, see AUTOTITLE.

To use the template repository for your assignment, the template repository must be owned by your organization, or the visibility of the template repository must be public.

When you create your assignment, {% data variables.product.prodname_classroom %} creates a new repository from the template in your organization with the visibility you select (for more information on creating repositories from templates, see AUTOTITLE).

Student assignment repositories will be forks of this created repository. You can choose whether all branches are included in student assignment repositories, or just the default branch.

You can reuse an existing assignment, even if it uses a template repository, in any other classroom that you have admin access to, including classrooms in a different organization. For more information, see AUTOTITLE.

Further reading