Versions in this module Expand all Collapse all v0 v0.14.2 Aug 19, 2024 Changes in this version + const CommitMessageTemplate + const HookPrepareCommitMessageTemplate + type Command struct + func New(opts ...Option) *Command + func (c *Command) Commit(val string) (string, error) + func (c *Command) DiffFiles() (string, error) + func (c *Command) GitDir() (string, error) + func (c *Command) InstallHook() error + func (c *Command) UninstallHook() error + type Option interface + func WithDiffUnified(val int) Option + func WithEnableAmend(val bool) Option + func WithExcludeList(val []string) Option