Last updated: May 2025
Let the app handle the boring parts! GitKraken offers built-in AI features to fast track your code contributions.
GitKraken AI requires a paid GitKraken subscription.
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.
How 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.
Amend commit messages
You may amend the most recent commit message by selecting the commit in the graph, and then clicking into its message box in the Commit Panel.
Similar to commit messages, you may use AI to generate an updated commit message and description for your amended commit.
AI-Generated Stash Messages
Similar to commit messages, you can generate stash messages based on the staged changes.
How to generate a stash message
- Stage your changes.
- Click on the stash icon next to the “Commit” tab and then click the AI button.
- GitKraken AI generates a stash message, which you can review and edit.
AI-Generated Pull Request Title and Description
When connected to GitHub, GitLab, Bitbucket, or Azure DevOps, you get the ability to create a pull request from inside GitKraken Desktop. Use AI to populate the title and description based on the incoming changes.
To generate a PR title and description:
- Create a pull request from the Left Panel or by drag and dropping a branch to another branch.
- Click the Generate title and descritption button. If using pull request templates, be sure to first select your template and GitKraken AI will apply it.
- GitKraken suggests a title 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, Azure, Anthropic, or a Custom URL with your own API key, you may configure this in your settings from Preferences > GitKraken AI.
Custom API Endpoint
The “Custom URL” may be of interest to customers with security requirements. This option allows users to configure a designated AI service for Commit Explain, Commit & Stash message generation, and Pull Request title and description generation.
Custom AI Prompt Instructions
You may include custom instructions to guide how GitKraken AI generates messages or explanations for Commit Message Generation, Explain Commits, Stash Message Generation, and Pull Requests title and description 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.
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 visit our GitKraken AI FAQ page for more details.