Last Updated: April 2025
GitKraken offers built-in AI features to fast track your workflow—no extra tools, no switching interfaces.
AI-Powered Commit Explain
GitKraken can generate natural language explanations of your commits, right from the UI.
How to use Commit Explain
- Open GitKraken Desktop and select one or more commits (Use Shift or Ctrl/Cmd)
- Click the Explain button in the top-right corner of the Commit Panel.
- GitKraken provides an AI-generated summary of what changed in that commit.
AI-Generated Commit Messages
You can generate clear, consistent commit messages based on your staged changes.
To generate a commit message:
- Stage your changes.
- Click the AI button near the commit input.
- GitKraken suggests a summary and description, which you can review and edit.
Bring your own key
By default, commit explanations and message generation use Gemini, and no API key is required—requests are included as part of your GitKraken subscription.
If you prefer to use OpenAI or Anthropic with your own API key, you may configure this in your settings from Preferences > GitKraken AI.
Additionally you may include custom instructions to guide how GitKraken AI generates messages or explanations for Commit Message Generation and Explain Commits respectively:
Commit Prompt Examples
Not sure how to advise GitKraken AI? Here are some starter prompts, and we encourage tinkering!
Prompt for brevity
Keep the summary short, but informative
Prompt to add conventional commit prefix
Format the summary as:
<type>: <summary>
Where <type> is one of the following prefixes:
feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (e.g. formatting)
refactor: Code changes that neither fix a bug nor add a feature
perf: Code changes that improve performance
test: Adding or updating tests
chore: Routine tasks or maintenance not related to source code
The <summary> should be a short (max 72 characters) description of what was changed, in the imperative mood (e.g., "add login button", "fix broken link", "refactor user auth logic").
Only output the final commit message — no explanations, no extra formatting.
Prompt for different language
Write the output in Spanish.
What’s Next?
Additional AI-powered features are in development to help automate repetitive tasks and keep you focused on what matters. These tools are built to reduce friction while giving you full control over your development workflow.
More questions about Gitkraken AI? Please see our GitKraken AI FAQ page for more details