Kiro's Source Control view provides comprehensive Git integration with AI-enhanced features to streamline your version control workflow.
Kiro generates a commit message from your changes. If you have staged changes, the message describes only what is staged. If nothing is staged, the message describes the changes in your working tree, including the contents of new untracked files, and Kiro tells you so: Nothing is staged, so the commit message describes all changes. Large change sets are truncated before Kiro reads them, so stage a focused set when completeness matters.
View transcript: Demo of Kiro generating a git commit message
Tip: You can set up a custom keyboard shortcut for Kiro: Generate Commit Message in your keyboard settings for faster access.
Kiro follows the Conventional Commits format with detailed body sections:
<type>(<scope>): <subject> - First change or addition - Second change or improvement - Third change if applicable - Why this change was needed (if relevant)
feat(docs): add comprehensive Source Control documentation - Create new documentation page for Source Control features - Update interface documentation to link to Source Control page - Provide detailed explanation of AI-powered commit message generation - Describe diff context provider and commit message generation process
You can include your current git changes in any chat conversation by typing #Git Diff. This allows Kiro to see your staged and unstaged changes, making it easier to get contextual help with your modifications.
Hey Kiro, can you fix the merge conflicts? #Git Diff
Source Control