1
0
mirror of synced 2026-01-04 00:06:20 -05:00
Files
docs/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/editing-an-assignment.md
2023-08-09 18:33:44 +00:00

5.1 KiB

title, intro, versions, permissions, shortTitle
title intro versions permissions shortTitle
Editing an assignment You can edit existing assignments in your course.
fpt
*
Organization owners who are admins for a classroom can edit assignments for that classroom. {% data reusables.classroom.classroom-admins-link %} Edit an assignment

About editing assignments

After creating an assignment, you can edit many aspects of the assignment to better fit the needs of yourself and your students. Be aware that you cannot change the assignment type (either individual or group) or the online integrated development environment (IDE) after assignment creation. For more information, see "AUTOTITLE" and "AUTOTITLE."

Editing an existing assignment

{% data reusables.classroom.sign-into-github-classroom %} {% data reusables.classroom.click-classroom-in-list %}

  1. In the {% octicon "repo" aria-hidden="true" %} Assignments tab, next to the assignment you would like to edit, click {% octicon "pencil" aria-label="The pencil icon" %}.

    {% note %}

    Note: You can also edit an assignment from the assignment's page. To access the assignment's page, in the Assignments tab, click the assignment name.

    {% endnote %}

  2. Under "Assignment title," click in the text field, then delete the existing text and type the new assignment title.

  3. Optionally, to edit the default prefix for each student's assignment repository, next to the name of the prefix, click {% octicon "pencil" aria-label="The pencil icon" %}.

    {% note %}

    Note: Editing an assignment's title or default repository prefix will not change the name of existing assignment repositories.

    {% endnote %}

    Then, type the new prefix under "Custom repository prefix."

  4. Under "Deadline (optional)," click in the text field, then use the date picker to reassign a deadline. The new deadline cannot be in the past, and reassigning a deadline will update the deadline for all students.

    {% data reusables.classroom.assignments-guide-make-cutoff-date %}

  5. To change the status of an assignment, select the Assignment status dropdown menu, then click Active or Inactive.

    {% note %}

    Note: Inactive assignments cannot be accepted by students. You should change an assignment status to inactive once no more students should accept an assignment or the assignment deadline has passed.

    {% endnote %}

  6. Under "Repository visibility," select a visibility. If you use private repositories, only the student or team can see the feedback you provide.

    {% note %}

    Note: Changing the visibility for assignment repositories will not retroactively change the visibility of existing assignment repositories.

    {% endnote %}

  7. Optionally, select or deselect Grant students admin access to their repository. For more information on admin permissions for repositories, see "AUTOTITLE" and "AUTOTITLE."

    {% note %}

    Note: Granting or revoking student admin access after an assignment has been created will not retroactively change the permissions for existing assignment repositories.

    {% endnote %}

  8. To set up or change the template repository for your assignment, in the "Add a template repository to give students starter code" section, select the Select a repository dropdown menu. - 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.

    {% note %}

    Note: By default, an assignment will create an empty repository for each student on the roster for the classroom.

    {% endnote %}

  9. To add a new autograding test, in the "Add autograding tests" section, select the Add test dropdown menu, then click a grading method from the options that appear. For more information, see "AUTOTITLE."

    Additionally, you can edit or delete existing autograding tests with {% octicon "pencil" aria-label="The pencil icon" %} or {% octicon "trash" aria-label="The trash icon" %}.

  10. To turn feedback pull requests on or off, select or deselect Enable feedback pull requests.

    {% note %}

    Note: Enabling or disabling feedback pull requests for an assignment will not create or delete feedback pull requests for existing assignment repositories.

    {% endnote %}

{% data reusables.classroom.update-assignment %}

Further reading