#!/usr/bin/env bash echo " Got new commit: $(date) --- " # pull latest version echo "git fetch --all" git fetch --all echo "git reset --hard origin/main" git reset --hard origin/main echo "curl -d fetched-latest http://compuper:6500/notify" cat <