@gw-tools/gw 0.62.0-beta.72.1 → 0.62.0-beta.72.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.
Files changed (2) hide show
  1. package/README.md +9 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1508,9 +1508,11 @@ gw rm <worktree...>
1508
1508
 
1509
1509
  **Multiple Worktrees & Glob Patterns:**
1510
1510
 
1511
- You can remove several worktrees at once, either by listing them or by using a glob pattern. When more than one worktree resolves, gw shows the list and asks for confirmation before anything is removed. The batch prompt defaults to **yes** — just press Enter to proceed, or type `n` / `no` to cancel. Use `--dry-run` (or `-n`) to preview what would be removed without making any changes.
1511
+ You can remove several worktrees at once, either by listing them or by using a glob pattern. When more than one worktree resolves, gw shows the list and asks for confirmation before anything is removed. **Confirmation prompts default to yes** — just press Enter to proceed, or type `n` / `no` to cancel. Use `--dry-run` (or `-n`) to preview what would be removed without making any changes.
1512
1512
 
1513
- Supported pattern syntax (quote to prevent shell expansion):
1513
+ With shell integration installed (`eval "$(gw install-shell)"`), you can use unquoted glob patterns: `gw rm fix/*`. The integration aliases `gw` with `noglob` for zsh so the shell doesn't try to expand the pattern against the current directory first. Without integration — or in bash with non-default options like `failglob` — quote the pattern: `gw rm 'fix/*'`.
1514
+
1515
+ Supported pattern syntax:
1514
1516
 
1515
1517
  - `*` — matches anything except `/`
1516
1518
  - `**` — matches anything including `/` (recursive)
@@ -1544,11 +1546,12 @@ gw remove feat-branch # Remove worktree AND delete local bran
1544
1546
  gw remove feat-branch --preserve-branch # Remove worktree but KEEP local branch
1545
1547
  gw remove --force feat-branch # Force remove worktree and force delete branch
1546
1548
  gw rm feat-branch # Using alias
1547
- gw rm 'test/*' # Remove all worktrees under test/ (with confirmation)
1548
- gw rm 'feat/*' 'spike/*' --yes # Remove every feat/* and spike/* worktree
1549
+ gw rm test/* # Remove all worktrees under test/ (with shell integration)
1550
+ gw rm 'test/*' # Same explicit quoting if you don't have shell integration
1551
+ gw rm feat/* spike/* --yes # Remove every feat/* and spike/* worktree
1549
1552
  gw rm feat-a feat-b # Remove multiple worktrees by name
1550
- gw rm --dry-run 'feat/*' # Preview what would be removed (no changes)
1551
- gw rm -n 'feat/*' # Same as above using short flag
1553
+ gw rm --dry-run feat/* # Preview what would be removed (no changes)
1554
+ gw rm -n feat/* # Same as above using short flag
1552
1555
  ```
1553
1556
 
1554
1557
  #### move (mv)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.62.0-beta.72.1",
3
+ "version": "0.62.0-beta.72.2",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",