gdx 0.4.1 → 0.4.2
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 +25 -15
- package/dist/index.js +983 -853
- package/dist/index_old.js +1337 -0
- package/package.json +23 -20
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ Shell integration provides:
|
|
|
93
93
|
|
|
94
94
|
- **Auto-cd support**: Allows `gdx parallel switch` to change directories
|
|
95
95
|
- **Tab completion**: Intelligent completion for gdx commands, shorthands, and git subcommands
|
|
96
|
-
- **
|
|
96
|
+
- **Completion fallback**: Falls back to native git completion when gdx has no suggestions (git fallback requires you to install git's completion scripts separately)
|
|
97
97
|
|
|
98
98
|
To add shell integration, add the following line to the **End** of your shell profile (`~/.bashrc`, `~/.zshrc`, etc.):
|
|
99
99
|
|
|
@@ -171,6 +171,9 @@ gdx parallel list # See where your forks are
|
|
|
171
171
|
gdx parallel switch # Switch between forks (requires shell integration)
|
|
172
172
|
gdx parallel open # Open any fork in your default editor
|
|
173
173
|
gdx parallel join # Merge changes from a fork back to main
|
|
174
|
+
gdx parallel sync # Sync forks with the main (origin worktree)
|
|
175
|
+
gdx parallel pick # Cherry-pick a commit from between forks
|
|
176
|
+
gdx parallel remove # Remove a fork when you're done
|
|
174
177
|
```
|
|
175
178
|
|
|
176
179
|
Additionally, `gdx parallel fork` can auto-initialize submodules and
|
|
@@ -181,7 +184,7 @@ getting the fork ready for work in no time.
|
|
|
181
184
|
### 5. Git Output for Human (Experimental)
|
|
182
185
|
|
|
183
186
|
Admit it, Git's default output isn't exactly designed for readability.
|
|
184
|
-
`gdx` enhances the output of some commands with better formatting to make it
|
|
187
|
+
`gdx` enhances the output of some commands with better formatting to make it less "git" to read.
|
|
185
188
|
|
|
186
189
|
Currently, we only support enhanced formatting for `gdx diff` and `gdx show`,
|
|
187
190
|
but more commands will be added in the future. (feel free to request what commands you'd like to see enhanced!)
|
|
@@ -234,19 +237,26 @@ Tools to help you feel productive without leaving the terminal.
|
|
|
234
237
|
|
|
235
238
|
## Command Reference
|
|
236
239
|
|
|
237
|
-
| Command
|
|
238
|
-
|
|
|
239
|
-
| `s`, `stat`
|
|
240
|
-
| `lg`, `lo`
|
|
241
|
-
| `sw`, `swit`
|
|
242
|
-
| `br`, `bra`
|
|
243
|
-
| `cmi`, `com`
|
|
244
|
-
| `res`
|
|
245
|
-
| `dif`
|
|
246
|
-
| `sho`
|
|
247
|
-
| `sta`, `st`
|
|
248
|
-
| `lint`
|
|
249
|
-
| `gdx-config`
|
|
240
|
+
| Command | Expansion / Function |
|
|
241
|
+
| :---------------- | :----------------------------------------------------------------- |
|
|
242
|
+
| `s`, `stat` | `git status` (use `-r` recursively run "status" on all submodules) |
|
|
243
|
+
| `lg`, `lo` | `git log --oneline --graph --all --decorate` |
|
|
244
|
+
| `sw`, `swit` | `git switch` |
|
|
245
|
+
| `br`, `bra` | `git branch` |
|
|
246
|
+
| `cmi`, `com` | `git commit` (Try `gdx cmi auto` for AI messages!) |
|
|
247
|
+
| `res` | `git reset` (supports `res ~3`, `res -h` expansion) |
|
|
248
|
+
| `dif` | `git diff` (supports `dif ~3`, `dif origin ~2` expansion) |
|
|
249
|
+
| `sho` | `git show` (supports `sho ~3`, `sho origin ~2` expansion) |
|
|
250
|
+
| `sta`, `st` | `git stash` |
|
|
251
|
+
| `lint` | Run pre-push checks (spelling, secrets, etc.) |
|
|
252
|
+
| `gdx-config` | Manage gdx configuration |
|
|
253
|
+
| `reword`, `rew` | Rewrite commit messages |
|
|
254
|
+
| `parallel`, `par` | Manage parallel worktrees for the current branch |
|
|
255
|
+
| `stats` | Show contribution statistics and metrics for the current repo |
|
|
256
|
+
| `graph` | Render a GitHub-style contribution heatmap in the terminal |
|
|
257
|
+
| `nocap` | Roast your latest commit message with AI |
|
|
258
|
+
| `clear` | Wipe changes in the working directory with a backup patch |
|
|
259
|
+
| `cache` | Manage gdx cache |
|
|
250
260
|
|
|
251
261
|
_Run `gdx ghelp` to see the full list of expansions._
|
|
252
262
|
|