fix: correct command aliases - g i now initializes repo, g int for interactive mode
- Changed 'g i' from interactive to init command - Updated 'g interactive' alias from 'i' to 'int' - Verified 'g ls' and 'g ll' working correctly - Updated all documentation (README, QUICK_REFERENCE, help text) - Bumped version to 0.6.4
This commit is contained in:
@@ -1,5 +1,18 @@
|
|||||||
# Changelog
|
# 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
|
## [0.6.2] - 2024-12-19
|
||||||
|
|
||||||
### 🚀 AI Model Updates
|
### 🚀 AI Model Updates
|
||||||
|
|||||||
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
g s # Status - Enhanced git status with AI insights
|
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 p # Preview - See what will be committed
|
||||||
g l # Local - AI commit locally
|
g l # Local - AI commit locally
|
||||||
g o # Online - AI commit + push
|
g o # Online - AI commit + push
|
||||||
@@ -34,7 +34,7 @@ g setup
|
|||||||
g s
|
g s
|
||||||
|
|
||||||
# 2. Commit with AI (choose one)
|
# 2. Commit with AI (choose one)
|
||||||
g i # Interactive mode (guided)
|
g int # Interactive mode (guided)
|
||||||
g o # One-command: commit + push
|
g o # One-command: commit + push
|
||||||
g l # Local commit only
|
g l # Local commit only
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,8 @@ g o # AI commit + push
|
|||||||
| Command | Description |
|
| Command | Description |
|
||||||
|---------|-------------|
|
|---------|-------------|
|
||||||
| `g s` | Enhanced status with AI insights |
|
| `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 o` | AI commit + push |
|
||||||
| `g l` | AI commit locally |
|
| `g l` | AI commit locally |
|
||||||
| `g ls` | Commit history (short) |
|
| `g ls` | Commit history (short) |
|
||||||
@@ -48,7 +49,7 @@ g o # AI commit + push
|
|||||||
```bash
|
```bash
|
||||||
# Daily workflow
|
# Daily workflow
|
||||||
g s # Check what changed
|
g s # Check what changed
|
||||||
g i # Interactive commit
|
g int # Interactive commit
|
||||||
g o # Quick commit + push
|
g o # Quick commit + push
|
||||||
|
|
||||||
# Advanced
|
# Advanced
|
||||||
|
|||||||
+4
-4
@@ -237,7 +237,7 @@ program.command('status').alias('s')
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
program.command('interactive').alias('i')
|
program.command('interactive').alias('int')
|
||||||
.description('Interactive commit wizard')
|
.description('Interactive commit wizard')
|
||||||
.action(async () => {
|
.action(async () => {
|
||||||
await ensureRepo();
|
await ensureRepo();
|
||||||
@@ -304,7 +304,7 @@ program.command('help-quick').alias('q')
|
|||||||
|
|
||||||
console.log(color.bold('Single-Letter Workflow:'));
|
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 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 p')} Preview - See what will be committed`);
|
||||||
console.log(` ${color.cyan('g l')} Local - AI commit locally`);
|
console.log(` ${color.cyan('g l')} Local - AI commit locally`);
|
||||||
console.log(` ${color.cyan('g o')} Online - AI commit + push`);
|
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.bold('Essential Workflow:'));
|
||||||
console.log(` ${color.cyan('g s')} Check what's changed`);
|
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(` ${color.cyan('g ls')} or ${color.cyan('g h')} View history\n`);
|
||||||
|
|
||||||
console.log(`For full help: ${color.cyan('g --help')}`);
|
console.log(`For full help: ${color.cyan('g --help')}`);
|
||||||
console.log(`For detailed docs: See README.md`);
|
console.log(`For detailed docs: See README.md`);
|
||||||
});
|
});
|
||||||
|
|
||||||
program.command('init')
|
program.command('init').alias('i')
|
||||||
.description('Initialize a new Git repository')
|
.description('Initialize a new Git repository')
|
||||||
.action(async () => {
|
.action(async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gims",
|
"name": "gims",
|
||||||
"version": "0.6.3",
|
"version": "0.6.4",
|
||||||
"description": "Git Made Simple – AI‑powered git helper using Gemini / OpenAI",
|
"description": "Git Made Simple – AI‑powered git helper using Gemini / OpenAI",
|
||||||
"author": "S41R4J",
|
"author": "S41R4J",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user