Skip to content

Commit 0ea7981

Browse files
committed
docs: clarify --from auto source selection
1 parent 2872805 commit 0ea7981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Uses the current worktree as target and copies from source worktree.
6767
git-worktreeinclude apply [--from auto|<path>] [--include <path>] [--dry-run] [--force] [--json] [--quiet] [--verbose]
6868
```
6969

70-
- `--from`: `auto` (default) chooses the main worktree automatically
70+
- `--from`: `auto` (default) chooses the first non-bare worktree from `git worktree list --porcelain -z` (typically the main worktree)
7171
- `--include`: include file path (default: `.worktreeinclude`)
7272
- relative path: resolved from source worktree root only
7373
- absolute path: must be inside source worktree root

0 commit comments

Comments
 (0)