GitHub Classroom - updating template after students have accepted the assignment #148917
Replies: 2 comments
-
@kevintgallo you can follow these steps: 1. Start with Your Original TemplateMake all your changes in the original template repository. This will be your main version to keep updated. 2. Update the GitHub Classroom TemplateGitHub Classroom creates student repositories by forking the Classroom copy of your template, so you need to update this Classroom copy first. How to Update the Classroom Copy:
3. Help Students Pull UpdatesOnce the Classroom copy is updated, students need to pull those changes into their own repositories. Steps for Students:
Alternative: 4. Automate Future UpdatesTo make this process easier for future assignments:
Hope this will help you. |
Beta Was this translation helpful? Give feedback.
-
this is a terrible "feature". what's the reason that GH classroom creates a copy/fork of the original template? this is a recent change that I really don't understand te reasoning behind. is there actually a good reason for this? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
Hi folks,
I have a template in GH classroom that I created as starter code for my students. I set up my classroom and some students have accepted it.
I found an issue and I want to update the template for everyone. The issue is that GH classroom has created a new repo from the template and then forked all the students from that copy of the template. I have typically just did double the work and updated both the copy (the basis for the forks) and the original template repo.
Is there a way to just update the original template (as that is the long term repo for subsequent years) and then to just update the copy so that I can then using the standard fork updates from the students?
Basically, I just need to update a copy of a template from the template I think.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions