GoLand 2023.3 Help

Get AI assistance for VCS commits

Generate commit messages

AI Assistant can send your diffs to the LLM (Large Language Model), which will generate a commit message describing your changes.

  1. Press Alt+0 to open the Commit tool window.

  2. Click Ml llm icons ai assistant Generate Commit Message with AI Assistant.

  3. Edit the message if necessary.

    GoLand: AI-generated commit message

Edit and improve commit messages

When you have already committed your changes, you can still edit your commit message. Use AI Assistant to help you analyze and better describe the committed changes.

  1. Click App expui toolwindow vcs in the bottom-left corner or press Alt+9 to open the version control tool window.

  2. In the commits pane, right-click the commit you want to update and select Edit Commit Message in the context menu.

    Context menu of the selected commit
  3. In the dialog that opens, click Ml llm icons ai assistant Improve Commit Message with AI Assistant.

    Dialog with an old commit message and the AI Assistant icon

    AI Assistant analyses the committed changes and generates an improved message.

  4. Edit the new message if necessary and click OK to save the changes.

  5. If the commit has already been pushed to the remote repository, press Control+Shift+K to push the updated commit message as well.

Explain commits

AI Assistant can summarize the changes made in one or several commits.

  1. Click App expui toolwindow vcs in the bottom-left corner or press Alt+9 to open the version control tool window.

  2. In the commits pane, select the commit or several commits you want to summarize, right-click them and select Explain Commit with AI Assistant in the context menu.

    AI Assistant provides the summary of the selected commits.

    AI Assistant explains commit
Last modified: 18 January 2024