Work commit
work commit - Commit changes with AI-generated commit messages
Commits changes in the current workspace using AI to generate semantic commit messages.
By default, commits only staged changes. Use --all to stage all changes before committing. Uses the commit command internally to generate high-quality commit messages that follow project conventions and include module-specific details.
Flags
| Flag | Description |
|---|---|
-a, --all (default: false) |
Stage all changes before committing |
-m, --message |
Custom commit message (skips AI generation) |
-d, --debug (default: false) |
Enable debug mode (pass through to commit) |
Notes
Expected Output:
- Git commit created with AI-generated or custom message
Examples
work commit
work commit --all
work commit --message "fix: resolve authentication bug"
work commit -m "feat: add new feature"
See Also
- create commit-message - Generate messages
- work create
- work Commands
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.