From cdbc52110cb2d2b34af2cde75ce8e92e4911f645 Mon Sep 17 00:00:00 2001 From: cleo Date: Fri, 10 Apr 2026 18:04:21 +0000 Subject: [PATCH] sync-cleo 2026-04-10 18:04 --- sync-cleo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 sync-cleo.sh diff --git a/sync-cleo.sh b/sync-cleo.sh new file mode 100755 index 0000000..1aa109d --- /dev/null +++ b/sync-cleo.sh @@ -0,0 +1,8 @@ +#!/bin/bash +cd /root/.openclaw/workspace/obsidian-vault +git pull origin main >/dev/null 2>&1 +if [ -n "$(git status --porcelain)" ]; then + git add -A + git commit -m "sync-cleo $(date '+%Y-%m-%d %H:%M')" >/dev/null 2>&1 + git push origin main >/dev/null 2>&1 +fi