<- Adapters

Git

certifiedcode

Git repository inspection and operations

pip install chp-adapter-git

Auto-discovered through the chp.adapters entry point — no host config needed.

Capabilities

What this adapter exposes.

checkout_branchv0.1.0

Create a new branch or switch to an existing one.

chp.adapters.git.checkout_branch
commitv0.1.0

Stage specified files and create a commit. Diff content is never in evidence.

chp.adapters.git.commit
diff_summaryv0.1.0

Diff statistics only — files changed, insertions, deletions. Patch text is NEVER returned.

chp.adapters.git.diff_summary
inspect_repov0.1.0

Repository overview: branch, HEAD SHA, remotes, commit count.

chp.adapters.git.inspect_repo
logv0.1.0

Recent commit list: sha7, author name, subject (truncated), ISO date.

chp.adapters.git.log
mergev0.1.0

Merge a branch into the current branch. Evidence: branch, strategy, HEAD SHA7, conflicts flag.

chp.adapters.git.merge
precommit_checkv0.1.0

List staged files, count unstaged changes, and flag untracked files.

chp.adapters.git.precommit_check
pullv0.1.0

Pull from a remote. Evidence: remote, branch, new HEAD SHA7, fast_forward flag.

chp.adapters.git.pull
pushv0.1.0

Push a ref to a remote. Evidence: remote, ref, HEAD SHA7, success flag.

chp.adapters.git.push
statusv0.1.0

Working tree status: branch name, staged/unstaged/untracked file counts.

chp.adapters.git.status
See the full capability catalog →