commit
Interactive conventional commit with file staging, scope selection, and ticket inference.
Alias: devflow c
Branch Protection
If you're on main, master, develop, or production, devflow warns you and asks for confirmation before proceeding.
Flow
- If no files are staged, select files to stage (checkbox selection)
- Select commit type
- Select or enter scope (searchable list if configured, free text otherwise)
- Enter commit subject
- Optional: enter commit body (longer description)
- Confirm if breaking change (adds
BREAKING CHANGE:footer) - Optional: enter ticket reference (added as
Refs: TICKETfooter) - Preview and confirm
Commit Format
type[ticket](scope): messageThe ticket is automatically inferred from the branch name. If the branch doesn't follow the type/TICKET_description format, it defaults to UNTRACKED.
Examples
feat[ENV-123](auth): add biometric login
fix[PROJ-45](budget): correct calculation overflow
chore[UNTRACKED](deps): update dependencies
refactor[ENV-200]!(api): restructure endpointsThe ! after the ticket indicates a breaking change.
Options
| Option | Description |
|---|---|
--dry-run | Preview the commit without executing |