Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Demo skill
Commit with scripts/brain-commit-push.sh "<msg>" people/alice-example.md.
gbrain git commit-push -m "people: add alice-example" -- people/alice-example.md
git add -A -- people/alice-example.md
git push --dry-run origin HEAD:main
git stash store -m "rescued" "$(cat .git/rebase-merge/autostash)"
git push --force origin main # gbrain-allow-shared-tree-git: confirmed purge of a private clone
Never run git pull --rebase in a shared checkout.
git stashgit reset --hard
A git push in plain prose, outside a code span, is not an instruction.