Files
proxmox/scripts/git-status-all.sh
defiQUG bea1903ac9
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Sync all local changes: docs, config, scripts, submodule refs, verification evidence
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 15:46:06 -08:00

20 lines
753 B
Bash

#!/usr/bin/env bash
# Report git status for root and all top-level submodules (run from repo root)
set -e
ROOT=/home/intlc/projects/proxmox
OUT="$ROOT/scripts/git-status-report.txt"
cd "$ROOT"
repos=(. explorer-monorepo mcp-proxmox smom-dbis-138 ProxmoxVE metamask-integration dbis_core gru-docs miracles_in_motion metaverseDubai OMNIS omada-api the-order arromis-monorepo alltra-lifi-settlement "pr-workspace/app-ethereum" "pr-workspace/chains")
{
for r in "${repos[@]}"; do
if [[ "$r" == . ]]; then name="proxmox (root)"; dir="$ROOT"; else name="$r"; dir="$ROOT/$r"; fi
if [[ -d "$dir" ]]; then
echo ""
echo "=== $name ==="
(cd "$dir" && git status -sb 2>&1) || true
fi
done
} > "$OUT"
echo "Report written to $OUT"