Files
MapLibreParticleLab/工具/仓库自检.sh
OpenAI Codex ea5b8f9d7f
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
chore: freeze MapLibreParticleLab step 0 baseline
2026-08-28 16:38:16 +08:00

10 lines
655 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(git rev-parse --show-toplevel)"
echo "分支:$(git branch --show-current)"; echo "HEAD:$(git rev-parse HEAD)"; git remote -v
[[ "$(git remote get-url --push upstream || true)" == DISABLED ]] && echo '[OK] upstream push disabled' || echo '[警告] upstream push'
[[ "$(git config --get rerere.enabled || true)" == true ]] && echo '[OK] rerere=true' || echo '[警告] rerere=false'
git submodule status --recursive
for p in AGENTS.md PARTICLE_BASELINE.md docs/00_项目规范/00_文档目录与命名规范_v1.md docs/报告; do [[ -e "$p" ]] && echo "[OK] $p" || echo "[缺少] $p"; done
git status --short