I am doing some grading for a intro web class and we are using GitHub to host their files. Unfortunately for me we forgot to tell the students about gh-pages to so that they could view their code online (everyone was just viewing locally). I do not want to clone all their repos onto my computer nor do I want to add the branch manually online. Does anyone know a terminal command to create a branch on a remote repository if you do not have the repo? (I am a owner of all of their repos). What I want to do is just write a script that will run this command on all the the student repos and create the gh-pages branch.
I am doing some grading for a intro web class and we are using
Share
If you’ll write a script in any case, so what’s the problem? Pseudocode: