summaryrefslogtreecommitdiff
path: root/watch.sh
blob: aeb2b7549885482808faa1e6dcdcb210a4c64569 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

while true; do
  (git fetch && git reset --hard origin) || git clone "$REPO" . && git submodule update --init
  git submodule update --remote
  sleep 300
done