
gittech. site
for different kinds of informations and explorations.
Oh My Commit, Your Next-Gen AI-Powered Commit Solution
____ _ __ __ _____ _ _
/ __ \| | | \/ | / ____| (_) |
| | | | |__ | \ / |_ _ | | ___ _ __ ___ _ __ ___ _| |_
| | | | '_ \ | |\/| | | | | | | / _ \| '_ ` _ \| '_ ` _ \| | __|
| |__| | | | | | | | | |_| | | |___| (_) | | | | | | | | | | | | |_
\____/|_| |_| |_| |_|\__, | \_____\___/|_| |_| |_|_| |_| |_|_|\__|
__/ |
|___/
Oh My Commit
β¨Your Next-gen AI-powered Commit Solution β¨
English | δΈζ | Website Docs | VScode | Open Visx | Releases
Features Comparison
Features | Oh My Commit | VSCode VCS | JetBrains VCS | Other AI Commit Plugins | AI Commit CLI |
---|---|---|---|---|---|
Basic Features | |||||
Git Integration | β | β | β | β οΈ | β |
Diff Preview | β | β | β | β | β |
Multi-file Commits | β | β | β | β οΈ | β οΈ |
AI Features | |||||
Smart Message Generation | β | β | β | β | β |
Multi-language Support | β | β | β | β οΈ | β οΈ |
Custom Algorithm Implementation | β | β | β | β | β |
User Experience | |||||
CLI Support | β | β | β | β | β |
GUI Interface | β | β | β | β οΈ | β |
Shortcut Support | π§ | β | β | β οΈ | β |
Advanced Features | |||||
Team Standards Config | π§ | β | β οΈ | β | β |
Changesets Integration | π§ | β | βοΈ | β | β |
Commit Templates | π§ | β οΈ | β | β | β |
Commit History Analysis | π§ | β | β | β | β |
Extensibility | |||||
Plugin Architecture | β | β | β | β | β |
Custom Workflows | π§ | β οΈ | β | β | β |
UI Comparison
System Architecture
Oh My Commit is a modular intelligent commit solution:
Multi-platform Support
- CLI Tool: Standalone command-line program for use in any terminal
- VSCode Extension: Graphical interface with silent and interactive modes
- Future Plans: Support for more IDEs and platforms
Core Components
- Shared Configuration: Cross-platform unified user settings and team standards
- Algorithm Marketplace: Customizable AI commit algorithms with extensible provider system
- Data Analytics: Commit history analysis and team collaboration insights (planned)
Technical Features
- Monorepo Architecture: Multi-package management with pnpm
- Module Decoupling: Separation of core logic, UI, and algorithm providers
- Plugin Design: Support for third-party extensions and customization
AI Capabilities
Multi-model Support
- Built-in Oh My Commit professional model optimized for code commits
- Support for OpenAI GPT-3.5/4, Claude, and other mainstream models
- Customizable AI service endpoints for flexible expansion
Provider Installation
- Install official provider via npm:
# Install globally npm install -g @oh-my-commit/provider-official # Or install locally in your project npm install @oh-my-commit/provider-official
- Provider files will be automatically installed to
~/.oh-my-commit/providers/official/
- Custom providers can be installed to the same directory structure
- Install official provider via npm:
Intelligent Analysis
- Deep understanding of code change context
- Automatic identification of refactoring, bugfix, feature types
- Generate commit messages matching team style
Continuous Optimization
- Continuous improvement based on user feedback
- Regular model capability updates
- Support for custom training fine-tuning
Usage
β οΈ Pre-usage Configuration
Taking the official algorithm
@oh-my-commit/provider-official
as an example, you need to:
- Configure AI service key:
ANTHROPIC_API_KEY
or VSCode settingoh-my-commit.apiKeys.anthropic
- (Optional) Configure proxy:
- CLI:
HTTP_PROXY
environment variable- VSCode:
ohMyCommit.proxy.url
andohMyCommit.proxy.enabled
CLI and VSCode can be used independently with shared synchronized configuration
CLI Usage
# Install CLI tool globally
npm install -g oh-my-commit
# Install official AI Commit algorithm implementation
# Third-party directory: `~/.oh-my-commit/providers/`
npm install -g @oh-my-commit/provider-official
# Use in git repository
omc # View help
omc gen # AI generate commit
VSCode Extension
- Install "Oh My Commit" from VSCode marketplace
- Usage methods:
- Shortcut:
cmd+shift+p
search for "OMC: Quick Commit" - Status Bar: Click the Commit icon in status bar
- Source Control: Use VSCode's built-in Git panel
- Shortcut:
Configuration
Setting | Type | Default | Description | Options |
---|---|---|---|---|
oh-my-commit.model.id |
string | "omc-standard" | Select AC service provider and model | β’ omc-standard β’ (Custom implementations via local install / source PR / npm publish) |
oh-my-commit.git.lang |
string | "system" | Git commit message language | β’ system : Follow system languageβ’ zh_CN : Chinese commit messagesβ’ en_US : English commit messages |
oh-my-commit.apiKeys |
object | - | AI service provider API key configuration | |
oh-my-commit.ui.mode |
string | "panel" | Commit interface mode | β’ notification : Generate commit messages via notifications, ideal for quick personal developmentβ’ panel : Resident panel with professional view supporting title/content editing and diff viewing, suitable for professional collaboration |
ohMyCommit.proxy.enabled |
boolean | false | Enable proxy for API requests | true / false |
ohMyCommit.proxy.url |
string | "http://localhost:7890" | Proxy server URL | Any valid proxy URL (e.g. "http://localhost:7890") |
Note: Our omc-standard requires users to configure their own ANTHROPIC_API_KEY and proxy (if necessary), which can be set in user settings.
Acknowledgments
This project is inspired by and builds upon the work of several excellent projects:
- vscode-i-dont-care-about-commit-message - VSCode extension inspiration
- gcop - CLI implementation inspiration
Contributors
Built With
- Windsurf Editor by Codeium - Development Environment
- Claude - AI Assistant
Contributing
Contributions are welcome! Please check our Contributing Guide for details.
Support
If you encounter any issues or have suggestions:
License
Oh My Commit is licensed under MIT + Commons Clause. This means:
- β You can freely use, modify, and distribute this software
- β You can use this software in personal or internal projects
- β You can create and distribute modified versions
- β You cannot sell this software as a paid service or product
- β You cannot commercialize this software without authorization
If you want to use Oh My Commit in a commercial environment, please contact us for a commercial license.
For detailed terms, please check the LICENSE file.