/commit
Description
The /commit
command streamlines the process of crafting commit messages for your staged changes. Available in Git-Diff Focus, this command analyzes your staged changes and generates a comprehensive commit message that succinctly describes all modifications. For added convenience, Qodo Gen integrates an "Auto commit message" button within the source control panel of the IDE, offering an alternative method to directly apply the generated message to the commit field.
How to Use
To utilize the /commit
command effectively, follow these steps:
-
Select Git-Diff Focus: The
/commit
command operates in Git-Diff, catering to changes made across multiple files within your project's workspace. -
Ensure Changes are Staged: Before initiating the command, confirm that all changes you wish to include in your commit message are correctly staged.
-
Initiate the Command: Type
/commit
in the chat interface. Qodo Gen will analyze the staged changes and generate a detailed commit message reflecting the modifications. -
Copy and Paste the Commit Message: Review the generated commit message provided by Qodo Gen. You can copy this message and manually paste it into the commit message field in your source control panel.
Alternatively, use the Auto commit message button directly in the source control panel of your IDE. This button performs the same action, automatically inserting the generated commit message into the commit field, streamlining the process.
Available in