Usage
This document will guide you through the usage of Comit. It will cover basic and advanced usage of the tool, as well as some of the more complex features of the tool.
Usage
Generating a Commit Message
To generate a commit message, ensure your changes are staged, then run the following command:
This command will run git diff --staged
, send the diff to your selected AI agent (you can choose or change the agent in the dashboard), and generate several commit message suggestions for you formatted according to Conventional Commits.
A sample output might look like:
Live Chat with Your Selected Agent
Start a live conversation with your preferred AI assistant:
You'll be prompted to chat and can ask for code, advice, or assistance:
Generate a Branch Name
Automatically generate a branch name based on a description:
Send a Prompt
Use a one-off prompt without entering chat mode:
Update Comit
We’re constantly shipping improvements. To stay up to date, run:
Help
To see all available commands and options: