@gw-tools/gw 0.62.0-beta.72.2 → 0.62.0-beta.72.3

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1514,11 +1514,17 @@ With shell integration installed (`eval "$(gw install-shell)"`), you can use unq
1514
1514
 
1515
1515
  Supported pattern syntax:
1516
1516
 
1517
- - `*` — matches anything except `/`
1517
+ - `*` — in a bare-name pattern (no `/`), matches anything including `/`. In a path-aware pattern (contains `/`), matches anything except `/`.
1518
1518
  - `**` — matches anything including `/` (recursive)
1519
1519
  - `?` — matches a single character
1520
1520
  - `[abc]` — matches one of the listed characters
1521
1521
 
1522
+ The `/`-aware split is what most people mean intuitively:
1523
+
1524
+ - `fix*` — "anything starting with `fix`" → matches `fix/agent0-foo`, `fix-branch`, `fixture`
1525
+ - `fix/*` — "direct children of `fix/`" → matches `fix/agent0-foo` but NOT `fix/sub/nested`
1526
+ - `fix/**` — "everything under `fix/`" → matches both
1527
+
1522
1528
  In batch mode, dirty worktrees (uncommitted or unpushed) are skipped with a warning instead of being prompted one-by-one. Use `--force` to remove them anyway. Protected branches are silently filtered out of pattern matches.
1523
1529
 
1524
1530
  **Branch Cleanup:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.62.0-beta.72.2",
3
+ "version": "0.62.0-beta.72.3",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",