diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c7341..1a08acc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.6.4] - 2025-10-19 + +### 🔧 Command Aliases Fixed +- **Fixed `g i` alias**: Now correctly initializes a git repository (was incorrectly mapped to interactive mode) +- **Updated `g interactive` alias**: Changed from `g i` to `g int` to avoid conflicts +- **Verified `g ls` and `g ll`**: Both commands working correctly (short and detailed commit history) + +### 📚 Documentation Updates +- Updated `QUICK_REFERENCE.md` to reflect correct command aliases +- Updated help output (`g q`) to show correct mappings + +--- + ## [0.6.2] - 2024-12-19 ### 🚀 AI Model Updates diff --git a/QUICK_REFERENCE.md b/QUICK_REFERENCE.md index 2f9b7aa..2757116 100644 --- a/QUICK_REFERENCE.md +++ b/QUICK_REFERENCE.md @@ -4,7 +4,7 @@ ```bash g s # Status - Enhanced git status with AI insights -g i # Interactive - Guided commit wizard +g i # Init - Initialize a new Git repository g p # Preview - See what will be committed g l # Local - AI commit locally g o # Online - AI commit + push @@ -34,7 +34,7 @@ g setup g s # 2. Commit with AI (choose one) -g i # Interactive mode (guided) +g int # Interactive mode (guided) g o # One-command: commit + push g l # Local commit only diff --git a/README.md b/README.md index dbd8946..02fbf5a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,8 @@ g o # AI commit + push | Command | Description | |---------|-------------| | `g s` | Enhanced status with AI insights | -| `g i` | Interactive commit wizard | +| `g i` | Initialize git repository | +| `g int` | Interactive commit wizard | | `g o` | AI commit + push | | `g l` | AI commit locally | | `g ls` | Commit history (short) | @@ -48,7 +49,7 @@ g o # AI commit + push ```bash # Daily workflow g s # Check what changed -g i # Interactive commit +g int # Interactive commit g o # Quick commit + push # Advanced diff --git a/bin/gims.js b/bin/gims.js index bacc885..70db620 100755 --- a/bin/gims.js +++ b/bin/gims.js @@ -237,7 +237,7 @@ program.command('status').alias('s') } }); -program.command('interactive').alias('i') +program.command('interactive').alias('int') .description('Interactive commit wizard') .action(async () => { await ensureRepo(); @@ -304,7 +304,7 @@ program.command('help-quick').alias('q') console.log(color.bold('Single-Letter Workflow:')); console.log(` ${color.cyan('g s')} Status - Enhanced git status with AI insights`); - console.log(` ${color.cyan('g i')} Interactive - Guided commit wizard`); + console.log(` ${color.cyan('g i')} Init - Initialize a new Git repository`); console.log(` ${color.cyan('g p')} Preview - See what will be committed`); console.log(` ${color.cyan('g l')} Local - AI commit locally`); console.log(` ${color.cyan('g o')} Online - AI commit + push`); @@ -321,14 +321,14 @@ program.command('help-quick').alias('q') console.log(color.bold('Essential Workflow:')); console.log(` ${color.cyan('g s')} Check what's changed`); - console.log(` ${color.cyan('g i')} or ${color.cyan('g o')} Commit with AI`); + console.log(` ${color.cyan('g int')} or ${color.cyan('g o')} Commit with AI (interactive or online)`); console.log(` ${color.cyan('g ls')} or ${color.cyan('g h')} View history\n`); console.log(`For full help: ${color.cyan('g --help')}`); console.log(`For detailed docs: See README.md`); }); -program.command('init') +program.command('init').alias('i') .description('Initialize a new Git repository') .action(async () => { try { diff --git a/package.json b/package.json index 494fbc5..7608044 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gims", - "version": "0.6.3", + "version": "0.6.4", "description": "Git Made Simple – AI‑powered git helper using Gemini / OpenAI", "author": "S41R4J", "license": "MIT",