yhavinga's picture
Saving scripts, log and checkpoint at step 70000
f1818f3
raw
history blame
201 Bytes
#!/bin/bash
source ~/venv/bin/activate
while true
do
echo -n "Checking at .. "
date
BEHIND=`git rev-list origin..HEAD`
if [ ! -z "$BEHIND" ]
then
git push origin
fi
sleep 180
done