gdx 0.4.4 → 0.4.6
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 +5 -4
- package/dist/index.js +628 -685
- package/dist/workers/generic.worker.min.js +1 -0
- package/package.json +29 -21
- package/scripts/launcher.cjs +10 -6
- package/scripts/postinstall.cjs +355 -272
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ It wraps standard git commands with intelligent shorthands and adds powerful new
|
|
|
17
17
|
|
|
18
18
|
**Why gdx?**
|
|
19
19
|
|
|
20
|
-
- **👍 Convenience:** Type less, do more. `git status`? how about `gdx s
|
|
20
|
+
- **👍 Convenience:** Type less, do more. `git status`? how about `gdx s`, `git reset HEAD~3`? why not `gdx res ~3`
|
|
21
21
|
- **🛡️ Safety:** `gdx clear` wipes your directory but saves a backup patch. No more "oops" moments.
|
|
22
22
|
- **✨ Enhanced Output:** Git's output is... functional. `gdx` makes it beautiful and easier for _humans_ to digest.
|
|
23
23
|
- **🧠 Logic:** Handles the things Git makes hard, like dropping a range of stashes, working with worktrees, or submodules.
|
|
@@ -230,7 +230,7 @@ gdx cmi auto --no-commit --copy
|
|
|
230
230
|
# You can also configure which LLM to use with `gdx-config`
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
Unlike most AI commit message generators, by default `gdx` creates messages generation guidelines
|
|
233
|
+
Unlike most AI commit message generators, by default `gdx` creates messages generation guidelines based on your repo's history and conventions.
|
|
234
234
|
This ensures the generated messages fit your project's style and tone.
|
|
235
235
|
Said guidelines are updated every month to reflect your evolving commit style.
|
|
236
236
|
|
|
@@ -253,7 +253,7 @@ Tools to help you feel productive without leaving the terminal.
|
|
|
253
253
|
| Command | Expansion / Function |
|
|
254
254
|
| :---------------- | :------------------------------------------------------------------------------------------- |
|
|
255
255
|
| `s`, `stat` | `git status` (use `-r` recursively run "status" on all submodules) |
|
|
256
|
-
| `lg
|
|
256
|
+
| `lg` | `git log --oneline --graph --all --decorate` |
|
|
257
257
|
| `sw`, `swit` | `git switch` |
|
|
258
258
|
| `br`, `bra` | `git branch` |
|
|
259
259
|
| `ps` | `git push` with option expansion `-fl`=`--force-with-lease` |
|
|
@@ -270,6 +270,7 @@ Tools to help you feel productive without leaving the terminal.
|
|
|
270
270
|
| `reword`, `rew` | Rewrite commit messages |
|
|
271
271
|
| `parallel`, `par` | Manage parallel worktrees for the current branch |
|
|
272
272
|
| `stats` | Show contribution statistics and metrics for the current repo |
|
|
273
|
+
| `snap` | Create a local snapshot of current worktree/repository |
|
|
273
274
|
| `graph` | Render a GitHub-style contribution heatmap in the terminal |
|
|
274
275
|
| `nocap` | Roast your latest commit message with AI |
|
|
275
276
|
| `clear` | Wipe changes in the working directory with a backup patch |
|
|
@@ -283,7 +284,7 @@ _Run `gdx ghelp` to see the full list of expansions/commands._
|
|
|
283
284
|
| Command | Expansion / Function |
|
|
284
285
|
| :-------------------------------- | :--------------------------------------------------------------------------------------------------- |
|
|
285
286
|
| `tag mv`, `tag move` | Move a tag to a new commit (supports ref expansion) |
|
|
286
|
-
| `
|
|
287
|
+
| `log export` | Export git log to a markdown file with enhanced formatting |
|
|
287
288
|
| `commit auto` | Generate commit messages with AI based on staged changes (supports `--no-commit` and `--copy` flags) |
|
|
288
289
|
| `stash drop` | Drop stashes with advanced options (e.g., `drop 2..6`) |
|
|
289
290
|
| `stash drop pardon` | Restore the last dropped stash |
|