#!/bin/bash cd /Users/adolforeyna/.openclaw/workspace # Check if there are changes if [[ -n $(git status -s) ]]; then git add . git commit -m "Auto-sync: $(date '+%Y-%m-%d %H:%M:%S')" git push origin main echo "Synced changes to repo." else echo "No changes to sync." fi