Skip to main content

Commit

Generates a commit message from the git diff

Synopsis​

Uses the git diff to generate a commit message. Requires Git to be installed on the system.

otto commit [flags]

Options​

  -a, --auto           automatically add all and commit with the generated message
-c, --conventional use conventional commits
-h, --help help for commit
-p, --plain no output formatting
--push automatically push to the current branch
-v, --verbose verbose output

SEE ALSO​

  • otto - Document your code with ease
Auto generated by spf13/cobra on 23-Apr-2023​