script to work with course assignments as git repositories
-
create a list of repositiories for each class in username/Repo-Name format
-
save the file inside the course folder
-
download gitrepos.sh script somewhere inside your semester folder e.g., Fall2019
- folder structure:
- Fall2019/gitrepos.sh
- Fall2009/00P/repos.txt # list of repositories /<repo_name> in OOP course
-
to clone all the repositories run:
$ bash gitrepos.sh clone OOP/repos.txt
- the script will create a folder called grading inside the course folder
- e.g., OOP/grading
- to pull new submissions run:
$ ./gitrepos.sh pull OOP/grading