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 "Create an individual assignment" and "Create a group assignment."
Editing an existing assignment
Sign into GitHub Classroom.
In the list of classrooms, click the classroom you want to view.
In the Assignments tab, next to the assignment you would like to edit, click .
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.
Under "Assignment title," click in the text field, then delete the existing text and type the new assignment title.
Optionally, to edit the default prefix for each student's assignment repository, next to the name of the prefix, click .
Note: Editing an assignment's title or default repository prefix will not change the name of existing assignment repositories.
Then, type the new prefix under "Custom repository prefix."
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.
Optionally, to make the deadline a cutoff date, select This is a cutoff date. If you use a cutoff date, students will lose write access to their assignment repositories after the cutoff date has passed unless they receive an extension. For more information on extending assignment deadlines, see "Extending an assignment's deadline for an individual or group."
To change the status of an assignment, select the Assignment status dropdown menu, then click Active or Inactive.
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.
Under "Repository visibility," select a visibility. If you use private repositories, only the student or team can see the feedback you provide.
Note: Changing the visibility for assignment repositories will not retroactively change the visibility of existing assignment repositories.
Optionally, select or deselect Grant students admin access to their repository. For more information on admin permissions for repositories, see "About repositories" and "Repository roles for an organization."
Note: Granting or revoking student admin access after an assignment has been created will not retroactively change the permissions for existing assignment repositories.
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: By default, an assignment will create an empty repository for each student on the roster for the classroom.
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 "Use autograding."
Additionally, you can edit or delete existing autograding tests with or .
To turn feedback pull requests on or off, select or deselect Enable feedback pull requests.
Note: Enabling or disabling feedback pull requests for an assignment will not create or delete feedback pull requests for existing assignment repositories.
Click Update assignment.