XpoCommit AI
Automatically generate meaningful Git commit messages using AI directly in VS Code.


Features
- Automatically generate Git commit messages from your code changes.
- Insert commit messages directly into the VS Code Source Control commit box.
- Securely store your Gemini API key using VS Code secrets.
- Customizable ignored files to avoid unnecessary diffs.
- High-visibility SCM sidebar button for quick access.
Requirements
- A Gemini API key for AI-powered commit generation.
Extension Settings
This extension contributes the following settings:
xpocommit-ai.ignoredFiles
: Glob patterns for files to ignore when generating commit messages. Default includes:
[
"node_modules/**",
".git/**",
".vscode/**",
"dist/**",
"build/**",
"out/**",
".DS_Store",
"*.log",
"*.tmp",
"*.env",
".idea/**",
".history/**",
".cache/**",
"package-lock.json",
"yarn.lock",
"pnpm-lock.yaml",
"Cargo.lock",
"go.sum",
"composer.lock",
"__pycache__/**",
"*.pyc"
]
Known Issues
- The extension may not work with non-standard SCM providers.
- Please let me know if any issue is detected.
Release Notes
0.0.1
Initial release of XpoCommit AI with automatic AI commit message generation.
Usage
- Open your Git workspace in VS Code.
- Make code changes so Git registers a diff.
- Click the button in the Source Control view. or use command pallet XpoCommit: Generate Commit Message - Gemini or using ctrl + alt + c
- Set your Gemini API key if prompted.
- Your commit message is automatically inserted into the commit input box.
Contributing 🤝
Contributions are welcome! Feel free to fork this repo, open issues, and submit pull requests.
If you’d like to collaborate more deeply, reach out — I’m open to ideas and contributors from the ground up.