cmt-cli

Usage

cmt suggest

Stage your changes as usual, then run:

git add .
cmt suggest

You will be shown a suggested commit message and can choose to:

  • y — commit with the suggested message
  • e — edit the message in vim before committing
  • n — abort

cmt summary

Get an AI-generated summary of all current changes (staged and unstaged, compared to HEAD) without committing:

cmt summary

Other commands

cmt --version   # print the installed version
cmt update      # check whether a newer version is available