Releases: 0xinit/gitBahn
v0.3.0 - No Installation Required
What's New
Zero installation - gitBahn now works as a pure Claude Code plugin. No binary, no cargo install, no setup.
Install in 2 commands:
/plugin marketplace add https://github.com/0xinit/gitBahn
/plugin install gitbahn
Changes
- Removed MCP server requirement - Plugin now uses git commands directly
- Simplified installation - No binary to build or install
- Updated all commands -
/gitbahn:commit,/gitbahn:realistic,/gitbahn:atomic,/gitbahn:granular
Available Commands
| Command | Description |
|---|---|
/gitbahn:commit |
Smart commit with AI-generated message |
/gitbahn:realistic |
Split by language constructs (imports → classes → functions) |
/gitbahn:atomic |
One file per commit |
/gitbahn:granular |
Split by diff hunks |
Note
The MCP server (gitbahn-mcp) is still available for advanced users who want direct tool access, but it's no longer required for the plugin to work.
v0.2.0 - Claude Code Plugin (No API Key Needed)
gitBahn v0.2.0
Major refactor: The MCP server is now a thin git operations layer. Claude Code handles all AI work directly - no Anthropic API key needed when using as a plugin.
Quick Start
claude plugin add https://github.com/0xinit/gitBahnThen just talk to Claude Code:
"Commit my changes"
"Create realistic commits spread over 4 hours"
"Create 10 commits starting yesterday at 9am"
What's New
No API Key Required for Claude Code Users
When using gitBahn as a Claude Code plugin, you no longer need to configure an Anthropic API key. Claude Code analyzes diffs and generates commit messages directly.
Smart Split Suggestion Tools
Three new tools that return file groupings for you to create commits from:
| Tool | Description |
|---|---|
suggest_realistic_split |
Language-aware splitting (imports → classes → functions) with dependency ordering |
suggest_atomic_split |
One file per commit, ordered by type |
suggest_granular_split |
Split by diff hunks for fine-grained control |
Supported languages: Python, Rust, JavaScript/TypeScript, Go, Ruby
Git Operations
get_status,get_diff,list_changesstage_all,stage_files,unstage_allcreate_commit(with optional timestamp for backdating)get_log,get_branch,push,undo
Breaking Changes
Removed MCP tools that depended on external API calls:
realistic_commit→ Usesuggest_realistic_split+create_commitatomic_commit→ Usesuggest_atomic_split+create_commitgranular_commit→ Usesuggest_granular_split+create_commitsimple_commit→ Useget_diff+create_commit
Installation Options
Claude Code Plugin (Recommended)
claude plugin add https://github.com/0xinit/gitBahnManual MCP Server
cd gitbahn-mcp
cargo install --path .Add to .mcp.json:
{
"mcpServers": {
"gitbahn": {
"command": "gitbahn-mcp"
}
}
}Standalone CLI (requires API key)
cargo install --path .
export ANTHROPIC_API_KEY=your_keyFull Changelog
v0.1.0 - Initial Release
gitBahn v0.1.0
AI-powered git commit tools for realistic development history. Transform AI-generated code into natural-looking commit history with intelligent splitting, timestamp spreading, and conventional commit messages.
✨ Features
Core Commands
bahn commit- AI-generated commit messages with conventional commit formatbahn auto- Watch mode for automatic commits on file changesbahn push- Push with optional GitHub PR creationbahn undo- Safely undo recent commits (soft/hard reset)
Realistic Mode
--realistic- Language-aware commit splitting for natural development flow--spread- Distribute commits across time periods (e.g.,--spread "4h")--start- Backdate commits from a specific timestamp- Smart chunking based on file types and logical groupings
AI Capabilities
- Intelligent commit message generation using Claude API
- Custom commit message templates with placeholders (
{type},{scope},{description},{body},{issue}) - Code review and documentation generation
- Personality/tone customization
Security & Integrations
- Secret detection - Warns about API keys, tokens, and credentials in staged changes
- GPG signing - Sign commits with your GPG key
- Branch awareness - Prevents commits to protected branches
- MCP Server - Model Context Protocol integration for Claude Code
Plugin Distribution
- Claude Code plugin with marketplace configuration
- MCP server for tool integration
📦 Installation
cargo install --path .🚀 Quick Start
# Stage changes and commit with AI message
git add .
bahn commit
# Realistic mode with timestamp spreading
bahn commit --realistic --spread "4h" --start "2024-01-10 09:00"
# Watch mode for automatic commits
bahn auto --watch📄 License
MIT