ultrahope 0.1.8 → 0.1.9
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 +3 -10
- package/dist/git-ultrahope.js +492 -284
- package/dist/index.js +567 -330
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -51,21 +51,14 @@ git add -A && git ultrahope commit --guide "GHSA-gq3j-xvxp-8hrf: override reason
|
|
|
51
51
|
jj ultrahope describe --guide "GHSA-gq3j-xvxp-8hrf: override reason"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
If you run `git ultrahope commit` with no staged files,
|
|
54
|
+
If you run `git ultrahope commit` with no staged files, it exits immediately:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
# With staged changes:
|
|
58
|
-
git add packages/cli/commands/commit.ts
|
|
59
|
-
git ultrahope commit
|
|
60
|
-
|
|
61
57
|
# Without staged changes:
|
|
62
58
|
git ultrahope commit
|
|
63
|
-
|
|
59
|
+
Error: No staged changes. Stage files with `git add` first.
|
|
64
60
|
```
|
|
65
|
-
|
|
66
|
-
If you answer `y`, Ultrahope runs `git add -A` and continues with staged changes.
|
|
67
|
-
If you answer `n` (or leave the default), it exits with the existing staged-changes error.
|
|
68
|
-
In `--no-interactive` mode, no prompt is shown and it exits immediately when no staged changes exist.
|
|
61
|
+
If no files are staged, the command exits immediately and requires `git add` to stage changes first.
|
|
69
62
|
|
|
70
63
|
In interactive mode for `git ultrahope commit`, `ultrahope jj describe`, and `ultrahope translate --target vcs-commit-message`, use `r` to refine the generated results with additional instructions.
|
|
71
64
|
|