Skip to content

Interface: GitCommitAndPushNode<TIn> ​

Defined in: ast/domain/git-commit-and-push-node.ts:15

Passive AST node squashing, rebasing, verifying, and pushing a worktree branch (git.commitAndPush).

Stages dirty working-tree changes in the active GitWorktreeHandle, commits them with message(input), and pushes to branch(input) using runner.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownValidated step input type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: GitWorktreeHandle], void>Phantom type brand binding the step to its compatible scope handle type.BaseDomainStepASTNode.__handleBrandast/base/base-domain-step-ast-node.ts:30
branchreadonlyBivariantCallback<[input: TIn], string>Pure projection deriving the target remote branch name from TIn.-ast/domain/git-commit-and-push-node.ts:18
env?readonlyReadonly<Record<string, string | EnvRef>>Optional environment variables or symbolic EnvRef bindings injected into git commands.-ast/domain/git-commit-and-push-node.ts:24
idreadonlystringLogical identifier of the step node.BaseDomainStepASTNode.idast/base/base-domain-step-ast-node.ts:24
inputSchemareadonlyZodType<TIn>Zod schema validating the step's input payload at entry.BaseDomainStepASTNode.inputSchemaast/base/base-domain-step-ast-node.ts:26
messagereadonlyBivariantCallback<[input: TIn], string>Pure projection deriving the commit message from TIn.-ast/domain/git-commit-and-push-node.ts:20
outputSchemareadonlyZodType<void>Zod schema validating the step's output payload at exit.BaseDomainStepASTNode.outputSchemaast/base/base-domain-step-ast-node.ts:28
runnerreadonlyNodeRunnerNodeRunner pool governing subprocess slot concurrency.-ast/domain/git-commit-and-push-node.ts:22
typereadonly"git:commit-and-push"Unique string-literal discriminant of the domain step node.BaseDomainStepASTNode.typeast/base/base-domain-step-ast-node.ts:22

Released under the MIT License.