3 # Script to update all the honours stuff on a regular basis
5 # Need to cd to the directory, otherwise nothing will work
6 directory="/home/sam/Documents/University/honours/"
9 echo "Committing at $(date)" >> commits.log
13 git add thesis/proposal/*.tex
14 git add thesis/proposal/*.pdf
15 git add thesis/proposal/*.bib
19 git add course/semester2
22 git commit -m "Automatic commit at $(date)"
23 if [ "$?" == 0 ]; then