gitter.csse.rose-hulman.edu:/srv/repos/git_scripts.git. The scripts in the
client_scriptsdirectory are what you need to setup and use repos.
Here's an example of me creating my 351 courses for 18-19 fall. First, get the repo list and make a directory for the repos.
makeRepoList.sh 1819a-csse351- csse351 >> repo_list.txt
Then, make the repos and start adding files:
gitbatch.sh ../repo_list.txt make_repos
gitbatch.sh populate ~/rose/csse351/homework1-template homework1
makeRepoList.sh PREFIX SECTION >> file.txtSECTION is the fully-qualified course name (e.g., csse351 or csse351-01). For example, if this command were issued:
makeRepoList.sh coursename- SECTION >> file.txtIf users1..5 are in SECTION, the contents of
coursename-user1, user1 coursename-user2, user2 coursename-user3, user3 coursename-user4, user4 coursename-user5, user5This file that is created (file.txt) is called a REPOSLISTFILE.
getbatch.sh REPOSLISTFILE make_repos TA1 TA2 TA3This would create repos for all the names and users in the repolist file and allow TA1, TA2, and TA3 access.
gitter.csse.rose-hulman.edu, and then run the following command.
/srv/admin/server/gitAddUsers.sh REPOS.txt TA
gitbatch.sh REPOSLISTFILE cloneOnce the repos are cloned, you can pull and push and populate. Go to the directory that has all the repos you want to manipulate.
gitbatch.sh pull gitbatch.sh populate FILE_TO_INSERT DEST_IN_REPO gitbatch.sh push