@gw-tools/gw 0.12.4 → 0.12.7

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 +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -465,13 +465,13 @@ The config file is created at `.gw/config.json` at the git root, so it's shared
465
465
  Sync files and directories between worktrees, preserving directory structure.
466
466
 
467
467
  ```bash
468
- gw sync [options] <target-worktree> <files...>
468
+ gw sync [options] <target-worktree> [files...]
469
469
  ```
470
470
 
471
471
  #### Arguments
472
472
 
473
473
  - `<target-worktree>`: Name or full path of the target worktree
474
- - `<files...>`: One or more files or directories to sync (paths relative to worktree root)
474
+ - `[files...]`: One or more files or directories to sync (paths relative to worktree root). If omitted, uses `autoCopyFiles` from `.gw/config.json`
475
475
 
476
476
  #### Options
477
477
 
@@ -482,6 +482,9 @@ gw sync [options] <target-worktree> <files...>
482
482
  #### Examples
483
483
 
484
484
  ```bash
485
+ # Sync autoCopyFiles from config (if configured)
486
+ gw sync feat-branch
487
+
485
488
  # Sync .env file from main to feat-branch
486
489
  gw sync feat-branch .env
487
490
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.12.4",
3
+ "version": "0.12.7",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",