Git

An interactive commit assistant that runs dart format, displays git status, guides you step-by-step to write a well-structured commit message, and then pushes to your branch — all in one command.
xflutter_cli git

Commit Types

The CLI will ask you to select a commit type. Each type guides you through type-specific prompts to automatically compose a descriptive commit message.
TypeDescriptionExample commit
FixingResolve a bug or crashFix crash on app startup due to null reference in authentication module
Adding FeatureIntroduce new functionalityAdd push notifications feature
RefactoringImprove code structure without changing behaviorRefactor user profile screen for improved code structure
DocumentationUpdate or add documentation / commentsAdd comments to LoginViewModel.dart for improved code readability
OptimizationImprove performance or resource usageOptimize image loading for faster performance
ConfigurationUpdate settings or environment configUpdate API endpoints for production environment
CleanupRemove unused code, files or dependenciesRemove unused imports, libraries and resources
Dependency UpdateUpgrade or downgrade a libraryUpgrade Firebase SDK with version 9.0.0
TestingAdd, update or fix testsAdd UI tests for login screen
RevertRevert a previous commitRevert "Add push notifications feature"
FormattingCode formatting only—
OtherFree-text commit message—

Usage:

Name
Type
Description
Example
originoptionbranch name to push to. When provided the CLI skips the interactive branch promptmain