Skip to content

dorianmariecom/dorian-commit

Repository files navigation

dorian-commit

Generate and create a git commit for staged changes with AI.

Install

gem install dorian-commit

Also included in the aggregate gem:

gem install dorian

Usage

commit [options] [extra context ...] [file ...]

Run commit -h for generated option details and commit -v for the installed version.

Notes

  • Requires staged changes; it aborts with no staged files otherwise.
  • 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.

Examples

Commit staged changes

git add README.md
commit "keep the message short"

Limit diff/status token budget

commit --tokens 800

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors