Function: executeGitCommitAndPushStep()
ts
function executeGitCommitAndPushStep<TIn>(
node,
input,
ctx
): Promise<void>;Defined in: git/src/executors/git-commit-and-merge-steps.ts:25
Executes a GitCommitAndPushNode (git.commitAndPush) step against the active GitWorktreeHandle.
Acquires a concurrency slot from node.runner, flushes uncommitted edits, squashes over baseRef, rebases onto origin/${resolvedBaseBranch}, runs verifyWith, and pushes with --force-with-lease.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Step input payload type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
node | GitCommitAndPushNode<TIn> | Passive commit-and-push step AST node. |
input | TIn | Step input payload. |
ctx | StepExecutionContext<GitWorktreeHandle> | Active step execution context. |
Returns
Promise<void>
Resolves once the branch is pushed and rootHandle lineage is updated.