class Git::Commands::CommitTree

Implements the ‘git commit-tree` command

Creates a new commit object based on the provided tree object and emits the new commit object id on stdout. The log message is provided via ‘-m` or `-F` options; multiple instances of either are concatenated as separate paragraphs.

@example Typical usage

commit_tree = Git::Commands::CommitTree.new(execution_context)
commit_tree.call('abc123', m: 'Initial commit')
commit_tree.call('abc123', p: %w[parent1 parent2], m: 'Merge')
commit_tree.call('abc123', m: 'Signed', gpg_sign: true)

@note ‘arguments` block audited against git-scm.com/docs/git-commit-tree/2.53.0

@see Git::Commands

@see git-scm.com/docs/git-commit-tree git-commit-tree

@api private