зеркало из https://github.com/github/docs.git
Classroom internal forks general release updates (#51640)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
This commit is contained in:
Родитель
7e6ae30a6e
Коммит
75461eaacb
|
@ -9,8 +9,6 @@ versions:
|
|||
fpt: '*'
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
## About assignments in {% data variables.product.prodname_classroom %}
|
||||
|
||||
Assignments are coursework created for students in {% data variables.product.prodname_classroom %}. You can use assignments to test and grade your students, or to help your students practice their learnings.
|
||||
|
|
|
@ -9,8 +9,6 @@ redirect_from:
|
|||
- /education/manage-coursework-with-github-classroom/create-a-group-assignment
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
## About group assignments
|
||||
|
||||
{% data reusables.classroom.assignments-group-definition %} Students can work together on a group assignment in a shared repository, like a team of professional developers.
|
||||
|
|
|
@ -10,17 +10,13 @@ redirect_from:
|
|||
shortTitle: Template repository
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
You can use a template repository on {% data variables.product.product_name %} 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](/repositories/creating-and-managing-repositories/creating-a-template-repository)."
|
||||
|
||||
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.
|
||||
|
||||
{% note %}
|
||||
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](/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)").
|
||||
|
||||
**Note:** All branches from the template repository are copied into student repositories derived from the template repository, even branches you use to store solutions.
|
||||
|
||||
{% endnote %}
|
||||
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](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)."
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ redirect_from:
|
|||
shortTitle: Individual assignment
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
## About individual assignments
|
||||
|
||||
{% data reusables.classroom.assignments-individual-definition %}
|
||||
|
|
|
@ -65,6 +65,8 @@ After creating an assignment, you can edit many aspects of the assignment to bet
|
|||
* To choose a template repository, begin typing the repository name in the text field, then click the repository in the search results.
|
||||
* To remove a template repository, delete any text in the text field.
|
||||
|
||||
You cannot change the template repository after a student has accepted the assignment. If you wish to provide updates to the starter code after students have accepted the assignment, see "[Making changes to assignment starter code](#making-changes-to-assignment-starter-code)."
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** By default, an assignment will create an empty repository for each student on the roster for the classroom.
|
||||
|
@ -95,6 +97,22 @@ After creating an assignment, you can edit many aspects of the assignment to bet
|
|||
|
||||
{% data reusables.classroom.update-assignment %}
|
||||
|
||||
## Making changes to assignment starter code
|
||||
|
||||
If you need to update the starter code for your assignment after students have already accepted it, you can do so by modifying the original repository. Since student assignments are based on forks of this repository, you can make changes to the starter code and then create pull requests for students to merge these updates into their assignments. See, "[AUTOTITLE](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-an-assignment-from-a-template-repository)."
|
||||
|
||||
{% data reusables.classroom.sign-into-github-classroom %}
|
||||
{% data reusables.classroom.click-classroom-in-list %}
|
||||
|
||||
1. Select the assignment that has a starter code repository.
|
||||
1. Below the title of the assignment, click the link to your starter code repository.
|
||||
1. Make the necessary changes to your starter code's content.
|
||||
1. Return to the assignment overview page.
|
||||
1. Click **Sync assignments**. If changes are detected, an **Assignments are out of date** button will be shown.
|
||||
1. To open pull requests in all of your students' assignment repositories, click **Assignments are out of date**.
|
||||
|
||||
The pull requests will be titled "{% data variables.product.prodname_classroom %}: Sync Assignment". Ask your students to merge these pull requests.
|
||||
|
||||
## Further reading
|
||||
|
||||
* "[AUTOTITLE](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-an-individual-assignment)"
|
||||
|
|
|
@ -7,8 +7,6 @@ permissions: 'Organization owners who are admins for a classroom can reuse assig
|
|||
shortTitle: Reuse an assignment
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
## About reusing assignments
|
||||
|
||||
You can reuse an existing individual or group assignment in any other classroom you have access to, including classrooms in a different organization. You can also reuse multiple assignments at once from a classroom. If you choose to reuse an assignment, {% data variables.product.prodname_classroom %} will copy the assignment to the classroom you choose. If the assignment uses a template repository and you choose to reuse it in a classroom from a different organization, {% data variables.product.prodname_classroom %} will create a copy of the repository and its contents in the target organization.
|
||||
|
|
|
@ -9,8 +9,6 @@ redirect_from:
|
|||
shortTitle: Starter assignment
|
||||
---
|
||||
|
||||
{% data reusables.classroom.note-on-assignment-changes %}
|
||||
|
||||
The Git & {% data variables.product.company_short %} starter assignment is a pre-made course that summarizes the basics of Git and {% data variables.product.company_short %} and links students to resources to learn more about specific topics.
|
||||
|
||||
## Prerequisites
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{% note %}
|
||||
|
||||
**Note:** In January 2024, {% data variables.product.prodname_classroom %} changed the way student repositories are created from starter code repositories. Previously, the process required starter code repositories to be templates, and {% data variables.product.prodname_classroom %} created a new repository for each student based on that template. With the change, student repositories are now created by forking the starter code repository.
|
||||
|
||||
This change addresses a frequently requested feature from teachers: the ability to change starter code after an assignment has been accepted by students.
|
||||
|
||||
You can read more about this change on the [{% data variables.product.company_short %} blog](https://github.blog/changelog/2024-01-22-migrating-github-classroom-assignment-repository-creation-from-create-from-template-to-forks-public-beta/).
|
||||
|
||||
This feature is in public beta and subject to change.
|
||||
|
||||
{% endnote %}
|
|
@ -1,4 +1,4 @@
|
|||
You can optionally choose a template repository as starter code for the assignment. For more information about template repositories, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/creating-a-template-repository)."
|
||||
You can optionally choose a template repository as starter code for the assignment. For more information, see "[AUTOTITLE](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-an-assignment-from-a-template-repository)."
|
||||
|
||||
{% note %}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче