@gw-tools/gw 0.61.2-beta.70.1 → 0.61.2-beta.70.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.
- package/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1403,7 +1403,8 @@ The clean command:
|
|
|
1403
1403
|
- By default, only removes worktrees with NO uncommitted changes
|
|
1404
1404
|
- By default, only removes worktrees with NO unpushed commits
|
|
1405
1405
|
- Always prompts for confirmation before deletion
|
|
1406
|
-
- Bare repository, the configured `defaultBranch`,
|
|
1406
|
+
- Bare repository, the configured `defaultBranch`, and `gw_root` are never removed
|
|
1407
|
+
- The canonical trunk names `main` and `master` are also always protected — even when one of them is not the currently configured `defaultBranch` (e.g. a repo with `defaultBranch: "master"` still protects a leftover local `main` branch, and vice versa)
|
|
1407
1408
|
- After removing worktrees, automatically prunes orphan branches (branches with no worktree and no unpushed commits)
|
|
1408
1409
|
- Use `--force` to bypass safety checks (use with caution)
|
|
1409
1410
|
|