Loading image...Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro
Loading image...Kiro
Product
  • About Kiro
  • CLI
  • Powers
  • Autonomous agent
  • Pricing
  • Downloads
For
  • Enterprise
  • Startups
Resources
  • Documentation
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support
Social
Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
  1. Docs
  2. IDE
  3. Editor
  4. Source control

Source Control

On this page
  • Commit message generation
  • How to generate commit messages
  • Message format
  • Conventional commit types
  • Example
  • Git diff context provider
  • Example usage
  • Troubleshooting
  • Git operations failing

Kiro's Source Control view provides comprehensive Git integration with AI-enhanced features to streamline your version control workflow.

Commit message generation

Kiro automatically generates meaningful commit messages based on your staged changes using AI analysis of your code modifications.

How to generate commit messages

  1. Stage your changes in the Source Control panel
  2. Click 🪄 button next to the commit message input field
  3. Review the generated message - Kiro analyzes your changes and creates a descriptive commit message
  4. Edit if needed - You can modify the generated message before committing
  5. Commit your changes using the generated or edited message

Tip: You can set up a custom keyboard shortcut for Kiro: Generate Commit Message in your keyboard settings for faster access.

Message format

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)

Conventional commit types

  • feat: New features
  • fix: Bug fixes
  • docs: Documentation changes
  • style: Formatting changes
  • refactor: Code restructuring
  • test: Adding/updating tests
  • chore: Maintenance tasks
  • perf: Performance improvements
  • ci: CI/CD changes

Example

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

Git diff context provider

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.

Example usage

Hey Kiro, can you fix the merge conflicts? #Git Diff

Troubleshooting

Git operations failing

  • Check your Git configuration and credentials
  • Ensure you have proper permissions for the repository
Page updated: November 16, 2025
Codebase indexing
Multi-root workspaces