Git Commit Whisperer is a Visual Studio Code extension that helps you generate git commit messages using OpenAI's GPT-3 (ChatGPT).
WARNING This extension transmits your git diff to OpenAI-API. Using this extension on confidential repositories is not advised, as it could potentially breach your NDA.
Install the extension from the Visual Studio Code Marketplace.
generateCommitMessage.openaiApiKey
)Generate Commit Message
command from the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
).You can customize the behavior of the Git Commit Whisperer by modifying the following settings:
{
"generateCommitMessage.openaiApiKey": "your-openai-api-key",
"generateCommitMessage.commitTypes": ["feat", "fix", "docs", "style", "refactor", "perf", "test", "build", "ci", "chore", "revert"],
"generateCommitMessage.useEmojiForCommitType": false,
"generateCommitMessage.commitMessagePrompt": "your custom prompt"
}
If you have any suggestions or find any bugs, please open an issue on the GitHub repository.
This extension is licensed under the MIT License.