@nemo-cli/git 0.1.4 → 0.1.5

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 CHANGED
@@ -43,6 +43,47 @@ ng hist -h
43
43
 
44
44
  ---
45
45
 
46
+ ## Command Reference
47
+
48
+ ### Quick Overview
49
+
50
+ #### Top-Level Commands
51
+
52
+ | Command | Alias | Description |
53
+ |---------|-------|-------------|
54
+ | `ng pull` | `ng pl` | Pull git branch with auto stash/pop |
55
+ | `ng push` | `ng ps` | Push current branch to remote |
56
+ | `ng checkout` | `ng co` | Checkout a branch with auto stash/pop |
57
+ | `ng diff` | `ng di` | Show differences between branches or working directory |
58
+ | `ng merge` | `ng mg` | Merge branches with auto stash/pop |
59
+ | `ng stash` | `ng st` | Git stash management (see subcommands below) |
60
+ | `ng blame` | - | View file commit history with interactive navigation |
61
+ | `ng commit` | - | Interactive commit with conventional commits |
62
+ | `ng status` | `ng s` | Show working tree status (interactive viewer) |
63
+ | `ng hist` | `ng history` | Show git history with beautiful graph format |
64
+ | `ng config` | - | Interactive git configuration manager |
65
+
66
+ #### Branch Subcommands (`ng branch`)
67
+
68
+ | Command | Alias | Description |
69
+ |---------|-------|-------------|
70
+ | `ng branch clean` | - | Clean merged branches with time filtering |
71
+ | `ng branch delete` | - | Delete local/remote branches with merge status check |
72
+ | `ng branch list` | `ng branch ls` | List all branches with current indicator |
73
+
74
+ #### Stash Subcommands (`ng stash`)
75
+
76
+ | Command | Alias | Description |
77
+ |---------|-------|-------------|
78
+ | `ng stash save` | `ng stash s` | Save current changes to stash |
79
+ | `ng stash list` | `ng stash ls` | List all stashes |
80
+ | `ng stash pop` | `ng stash p` | Pop the most recent stash |
81
+ | `ng stash drop` | `ng stash d` | Drop/clear stashes |
82
+ | `ng stash clear` | `ng stash c` | Clear all stashes |
83
+ | `ng stash history` | `ng stash his` | View stash history from persistent index |
84
+
85
+ ---
86
+
46
87
  ## Commands
47
88
 
48
89
  ### Commit (`ng commit`)
@@ -192,21 +233,21 @@ ng branch clean
192
233
 
193
234
  ---
194
235
 
195
- ### List Branches (`ng list` / `ng ls`)
236
+ ### List Branches (`ng branch list` / `ng branch ls`)
196
237
 
197
238
  List branches with current branch indicator.
198
239
 
199
240
  ```bash
200
241
  # List all branches (default)
201
- ng list
242
+ ng branch list
202
243
 
203
244
  # Local branches only
204
- ng list -l
205
- ng list --local
245
+ ng branch list -l
246
+ ng branch list --local
206
247
 
207
248
  # Remote branches only
208
- ng list -r
209
- ng list --remote
249
+ ng branch list -r
250
+ ng branch list --remote
210
251
  ```
211
252
 
212
253
  **Features:**
@@ -694,7 +735,7 @@ ng hist -n 20
694
735
  | Push | `git push` | `ng push` (interactive) |
695
736
  | Checkout | `git checkout` | `ng checkout` (auto stash + interactive) |
696
737
  | Branch delete | `git branch -D` | `ng branch delete` (merge status check) |
697
- | List branches | `git branch` | `ng list` (enhanced display) |
738
+ | List branches | `git branch` | `ng branch list` (enhanced display) |
698
739
  | Merge | `git merge` | `ng merge` (auto stash + searchable) |
699
740
  | Stash | `git stash` | `ng stash` (enhanced management) |
700
741
  | Blame | `git blame` (line-by-line) | `ng blame` (full commit history with diff) |
@@ -0,0 +1,32 @@
1
+ import { createRequire } from "node:module";
2
+
3
+ //#region \0rolldown/runtime.js
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
14
+ key = keys[i];
15
+ if (!__hasOwnProp.call(to, key) && key !== except) {
16
+ __defProp(to, key, {
17
+ get: ((k) => from[k]).bind(null, key),
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ }
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
28
+ }) : target, mod));
29
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
30
+
31
+ //#endregion
32
+ export { __require as n, __toESM as r, __commonJSMin as t };