make sure master branch exists on backup server

This commit is contained in:
Michiel de Jong 2014-11-18 16:50:37 +00:00
parent 184fd229be
commit 7b6cafe8ad

View file

@ -29,4 +29,4 @@ ExecStart=/bin/bash -euxc ' \
git commit --allow-empty -m"backup %i @ `hostname` - `date`"; \
echo "be careful: hidden sync functionnality"; \
git pull --rebase; \
git push origin master'
git push -u origin master'