class Git::Commands::Commit

Implements the ‘git commit` command

This command records changes to the repository by creating a new commit with the staged changes.

@example Typical usage

commit = Git::Commands::Commit.new(execution_context)
commit.call(message: 'Initial commit')
commit.call(message: 'Add feature', all: true, author: 'Jane <jane@example.com>')
commit.call(amend: true, no_verify: true)  # emits --no-verify
commit.call('src/foo.rb', message: 'Update foo')

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

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

@see Git::Commands

@api private