Skip to content
Snippets Groups Projects
Commit 7b6cafe8 authored by Michiel de Jong's avatar Michiel de Jong
Browse files

make sure master branch exists on backup server

parent 184fd229
No related branches found
No related tags found
No related merge requests found
...@@ -29,4 +29,4 @@ ExecStart=/bin/bash -euxc ' \ ...@@ -29,4 +29,4 @@ ExecStart=/bin/bash -euxc ' \
git commit --allow-empty -m"backup %i @ `hostname` - `date`"; \ git commit --allow-empty -m"backup %i @ `hostname` - `date`"; \
echo "be careful: hidden sync functionnality"; \ echo "be careful: hidden sync functionnality"; \
git pull --rebase; \ git pull --rebase; \
git push origin master' git push -u origin master'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment