0.0
The project is in a healthy, maintained state
commit with ai
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

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