Expand description
Git deploy-state — pull a quick snapshot of a repo on a remote host: current branch, HEAD sha, ahead/behind vs upstream, dirty file count, and last commit summary.
Single round-trip: git -C <path> status --porcelain=v2 --branch plus
git log -1 --format=%H%x09%an%x09%ar%x09%s, joined with ; so we
pay one ssh exec.
Structs§
Functions§
- git_
status - Fetch deploy-state for
repo_pathon the given SSH connection.