directory="/home/sam/Documents/University/honours/"
cd "$directory"
+# Need to do this too. Apparently
+eval `ssh-agent -s`
+
echo "Committing at $(date)" >> commits.log
git add update.sh
git add papers
if [ "$?" == 0 ]; then
git push git.ucc
fi
+
+kill $SSH_AGENT_PID