Push text
push_text
Text renderers for GitPushTool dual-format ToolResult.
Transform the structured data dict produced by
:class:axm_git.tools.push.GitPushTool into a compact text representation::
Text Only
git_push | ✓ | {branch} → {remote} [· upstream set]
git_push | ✗ | {error}
render_failure_text(*, error, data)
Render the failure-path text representation.
Lists dirty paths when data carries dirty_files (tree not clean),
or a child-repo hint when data carries suggestions (not-a-repo).
Source code in packages/axm-git/src/axm_git/tools/push_text.py
render_text(data)
Render the success-path data dict.
{"branch", "remote", "pushed", "set_upstream"} →
git_push | ✓ | {branch} → {remote}[ · upstream set].