@gw-tools/gw 0.57.0-beta.56.5 → 0.57.0
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 +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -395,6 +395,19 @@ All fields are optional and safe to commit — no machine-specific paths or runt
|
|
|
395
395
|
- **autoClean**: Silently remove stale worktrees in the background when running `gw checkout` or `gw list` (defaults to false, set via `gw init --auto-clean`)
|
|
396
396
|
- **updateStrategy**: Default strategy for `gw update` command: "merge" or "rebase" (defaults to "merge", set via `gw init --update-strategy`)
|
|
397
397
|
|
|
398
|
+
### Local Overrides (`config.local.json`)
|
|
399
|
+
|
|
400
|
+
Create `.gw/config.local.json` to override any config value for your machine only. It's automatically gitignored by `.gw/.gitignore`.
|
|
401
|
+
|
|
402
|
+
```jsonc
|
|
403
|
+
// .gw/config.local.json — personal overrides, not committed
|
|
404
|
+
{
|
|
405
|
+
"autoCopyFiles": [".env", ".env.local", "my-personal-config.json"],
|
|
406
|
+
}
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
Local config is merged on top of `config.json` (shallow merge, local wins). Useful for adding personal files to `autoCopyFiles` without modifying the team config.
|
|
410
|
+
|
|
398
411
|
## Commands
|
|
399
412
|
|
|
400
413
|
### checkout
|