sync-cleo 2026-04-10 12:50

This commit is contained in:
Horus
2026-04-10 12:50:02 +02:00
parent 498055e599
commit d32eef8c22
4 changed files with 101 additions and 0 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
VAULT="/root/.openclaw/workspace/obsidian-vault"
cd "$VAULT"
git pull origin main >/dev/null 2>&1
if [ -n "$(git status --porcelain)" ]; then
git add -A
git commit -m "sync $(date '+%Y-%m-%d %H:%M')" >/dev/null 2>&1
git push origin main >/dev/null 2>&1
fi