Expand description
Git-context reads — thin wrappers over git invoked against the resolved
repository root. These always work (the repo always exists), so there is
no degradation path here.
Structs§
Functions§
- branches
- Lists local branches with head SHA, current flag, and worktree flag.
- diff
- Returns the diff of
branchagainstbase(default: the repo’s default branch, falling back tomain), with a changed-files summary. - recent_
commits - Returns up to
limitrecent commits onbranch, newest first.