Generate and create a git commit for staged changes with AI.
gem install dorian-commitAlso included in the aggregate gem:
gem install doriancommit [options] [extra context ...] [file ...]Run commit -h for generated option details and commit -v for the installed version.
- Requires staged changes; it aborts with
no staged filesotherwise. - Uses a token from
~/.commit; if that file is missing, it prompts once and writes it. - Commits with the generated message when the API returns one.
git add README.md
commit "keep the message short"commit --tokens 800