# commit-msg Generate a commit message from a git diff ## Installation This is a CmdForge tool. Install it from the CmdForge registry: ```bash cmdforge install commit-msg ``` ## Usage Pipe a git diff into the tool to generate a commit message: ```bash git diff | commit-msg ``` Use a specific commit message style: ```bash git diff --staged | commit-msg --style "angular" ``` Generate a message for uncommitted changes: ```bash git diff HEAD | commit-msg --style "semantic" ``` ## Arguments | Flag | Default | Description | |------|---------|-------------| | `--style` | `conventional commits` | The commit message style to use (e.g., conventional commits, angular, semantic) | ## How It Works 1. **Step 1 (Prompt)**: Analyzes the git diff input and generates a commit message using the `opencode-pickle` AI provider, formatted according to the specified style 2. **Output**: Returns the generated commit message ## Dependencies None
Reviews
Login to reviewNo reviews yet.
Issues
No issues reported for this tool.
Write a Review
Share your experience with this tool.
0/2000
Report an Issue
Help improve this tool by reporting bugs or security issues.