This configuration enables you to generate high-quality, AI-powered commit messages directly from Lazygit, leveraging Raycast’s AI commands. It streamlines the process by copying your staged diff, prompting you for context, and opening Raycast to generate a commit message in your preferred language and style.
-
Trigger the Command in Lazygit
- In the Lazygit
filesview, pressCtrl+D(<c-d>). - This runs a custom command defined in your
lazygit/config.yml.
- In the Lazygit
-
Prompt Sequence
- Explain the changes: You’re prompted to briefly describe what you changed.