GitCommitExecutionTemplate

The ExecutionTemplate which is created using the commit execution builder function. This template class is used as a builder to construct the arguments to create a commit with Git.

Properties

Link copied to clipboard
abstract val ctx: ScopeContext

This field contains the context object that is applicable to the scope that defines the execution. The object is inherited directly from the parent net.democritus.scripting.scope.ScriptScope without alterations.

Functions

Link copied to clipboard
abstract fun files(vararg path: Path)
abstract fun files(vararg path: String)

Defines files or directories that should be staged for the commit.

Link copied to clipboard
abstract fun message(msg: String)

Defines the message for the commit.

Link copied to clipboard
abstract fun tag(name: String)

The name of a tag to add on the commit after it has been created.