When committing changes to your version control system from the IDE, Gemini can use the context from the code changes in the current commit and recent past commits to suggest a detailed commit message. To generate a commit message, click**Suggest commit message** ![](https://developer.android.com/static/studio/images/suggest-commit-message-icon.png)above the text input field in the**Commit**tool window.
![Commit dialog showing a suggested message for the commit.](https://developer.android.com/static/studio/gemini/images/commit-message-generation.gif)Gemini can suggest a detailed message for your commit.