Documentation
Get started with CommitFox. Everything you need to install, configure, and use the CLI effectively.
Getting Started
Installation
Install CommitFox on macOS, Linux, or Windows.
npm install -g commitfoxQuick Start
Generate your first commit message in under a minute.
commitfoxConfiguration
Customize CommitFox with a .commitfox.json file.
commitfox initCommands
commitfox
Generate a commit message for your staged changes.
# Stage some files
git add src/index.ts
# Generate commit message
commitfox
# Output: Creates commit with AI-generated messagecommitfox split
Split staged changes into multiple logical commits.
# After staging multiple changes
git add .
# See suggested splits
commitfox splitcommitfox doctor
Check project health and identify issues.
# Run health checks
commitfox doctor
# Auto-fix issues
commitfox doctor --fixcommitfox checkpoint
Save work-in-progress as a named snapshot.
# Save current state
commitfox checkpoint "wip-feature"
# Resume later
commitfox checkpoint --resumeConfiguration
Create a .commitfox.json in your project root to customize behavior:
{
"conventions": "conventional",
"types": ["feat", "fix", "docs", "chore"],
"scopes": ["ui", "api", "auth"],
"model": "llama3.2",
"doctor": {
"maxFileSize": 1048576,
"requiredFiles": [".gitignore", "README.md"]
}
}Requirements
Node.js
Version 18.0.0 or higher
Git
Version 2.0 or higher
AI Model
Downloaded on first run (requires ~500MB)
Need Help?
Stuck on something? Check the GitHub repository for issues and discussions, or file a new issue if you find a bug.