aicommit2 2.4.25 → 2.4.26
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 +15 -1
- package/dist/cli.mjs +116 -116
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,10 +255,24 @@ aicommit2 config set forceGit=true
|
|
|
255
255
|
**Features:**
|
|
256
256
|
|
|
257
257
|
- Automatic detection of `.jj` repositories (prioritized over Git since jj v0.34.0+ uses colocated repos)
|
|
258
|
-
- Uses `jj describe`
|
|
258
|
+
- Uses `jj describe` to set commit message (does NOT run `jj new` by default)
|
|
259
259
|
- Supports Jujutsu's fileset syntax for file exclusions
|
|
260
260
|
- Works seamlessly with colocated Git repositories
|
|
261
261
|
|
|
262
|
+
**jj new Behavior:**
|
|
263
|
+
|
|
264
|
+
By default, AICommit2 only runs `jj describe` to set the commit message, without creating a new changeset. This matches the workflow of many Jujutsu users who prefer to manually control when to run `jj new`.
|
|
265
|
+
|
|
266
|
+
To automatically run `jj new` after describing (mimics `jj commit` behavior):
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
# Via CLI flag
|
|
270
|
+
aicommit2 --jj-auto-new
|
|
271
|
+
|
|
272
|
+
# Or via config (persistent)
|
|
273
|
+
aicommit2 config set jjAutoNew=true
|
|
274
|
+
```
|
|
275
|
+
|
|
262
276
|
**Installation:**
|
|
263
277
|
|
|
264
278
|
```bash
|