Skip to content

Function: createGitCommitAndPushBuilder() ​

ts
function createGitCommitAndPushBuilder<TIn>(id, options): GitCommitAndPushBuilder<TIn>;

Defined in: git/src/builders/create-git-commit-and-push-builder.ts:27

Creates a fluent GitCommitAndPushBuilder (git.commitAndPush(id, options)).

Compiles into a passive GitCommitAndPushNode<TIn> with zero import-time or declaration-time I/O.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownStep input payload type.

Parameters ​

ParameterTypeDescription
idstringUnique step node identifier.
optionsGitCommitAndPushOptions<TIn>Branch projection, commit message projection, and optional bindings.

Returns ​

GitCommitAndPushBuilder<TIn>

Immutable fluent GitCommitAndPushBuilder instance.

Throws ​

If id is empty.

Released under the MIT License.