GitGPT is a powerful and intuitive VS Code extension designed to streamline your code review process. Leveraging the advanced capabilities of OpenAI's GPT model, GitGPT automatically generates insightful and context-aware comments for your commits based on the diff.
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This Visual Studio Code extension leverages the power of OpenAI's GPT-3 model to automatically generate meaningful commit messages based on your code changes. It's designed to streamline the commit process, making it easier for developers to accurately describe their changes and maintain a clean and understandable commit history. 📚
Automatically generates commit messages based on your code changes.
Streamlines the commit process.
Helps maintain a clean and understandable commit history.
How to Use 📖
Install the extension in Visual Studio Code.
Open your project in Visual Studio Code.
Stage your changes in Git.
Click on the "Generate Commit Message" icon in the status bar.
If prompted, enter your OpenAI key.
The extension will generate a commit message based on your changes and open it in a new tab.
Visual Studio Code
Known Issues ❗
The OpenAI API has a maximum input length of 4096 characters. If your diff is larger than this, it will be truncated.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
This extension uses the OpenAI API to generate commit messages.
Thanks to the Visual Studio Code team for creating a great editor!
Contributions, issues, and feature requests are welcome! Feel free to check issues page.