@himamshus06/git-auto 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
- **One-Command Workflow**: Stages all changes and commits them in one go.
|
|
8
8
|
- **AI-Powered Messages**: Analyzes your `git diff` to generate a meaningful commit message.
|
|
9
9
|
- **Conventional Commits**: Follows the [Conventional Commits](https://www.conventionalcommits.org/) specification (e.g., `feat:`, `fix:`, `chore:`).
|
|
10
|
-
- **
|
|
10
|
+
- **Smart Diff Handling**: Uses a Map-Reduce approach to summarize large changes, ensuring no detail is lost regardless of diff size.
|
|
11
|
+
- **Interactive Experience**: Preview and edit AI-generated messages before they are committed to your history.
|
|
11
12
|
|
|
12
13
|
## 📦 Installation
|
|
13
14
|
|
|
@@ -95,8 +96,11 @@ git auto commit --dry-run
|
|
|
95
96
|
|
|
96
97
|
1. **Staging**: Runs `git add .` to stage all changes.
|
|
97
98
|
2. **Diffing**: Extracts the staged changes using `git diff --cached`.
|
|
98
|
-
3. **AI Generation**:
|
|
99
|
-
|
|
99
|
+
3. **AI Generation**:
|
|
100
|
+
- **Map Phase**: For large diffs, it splits the changes into manageable chunks and generates a concise summary for each.
|
|
101
|
+
- **Reduce Phase**: It then aggregates these summaries into a single, professional commit message following Conventional Commits.
|
|
102
|
+
4. **Interactive Review**: Presents the generated message for your approval or modification.
|
|
103
|
+
5. **Committing**: Executes `git commit -m "final_message"`.
|
|
100
104
|
|
|
101
105
|
## 📜 License
|
|
102
106
|
MIT
|