/commit

/commit generates commit messages for your changes.

This command is only available when using Git Diff Focus.

Use it to analyze your changes and generate a comprehensive commit message that describes your changes.

Using /commit

  1. Open a file: Open a file in your project.

  2. Activate Qodo Gen: Click the Qodo Gen logo in the Extensions bar.

  3. Focus: Select Git Diff Focus. Check out our Focus documentation to learn more.

  4. Call the Command: Type /commit in the chatbox and hit the send key or click the arrow button.

  5. (Optional) Add optional instructions: You can give Qodo Gen any specific guidelines.

  6. Result! Qodo Gen will generate a commit message based on your changes.

    Now you can either:

    • Copy the generated commit message and manually paste it into the commit message field in your chosen source control.

    • Click the Auto commit message button.

    Auto commit message button in VSCode
Auto commit message button in JetBrains
  1. (Optional) Continue your chat: To give Qodo Gen more instructions, just type a command or ask a question to keep chatting.

Example

Command

/commit [optional instructions]

Response

[ Commit message that describes your changes. ]

Last updated

Was this helpful?