forkpress branchctl
forkpress branchctl is an alias for forkpress branch.
Use it only when an existing workflow or script already uses the branchctl name. New documentation and examples should prefer forkpress branch.
Usage
forkpress branchctl [--work-dir <path>] [--php-bin <path>] <command> [options]Options
branchctl accepts the same shared options and subcommand options as forkpress branch:
| Option | Default | Description |
|---|---|---|
--work-dir <path> | .forkpress | Site state directory whose branches should be managed. |
--php-bin <path> | Embedded PHP | PHP binary used for runtime helpers and merge operations. |
-h, --help | None | Print branch help. |
Examples
These commands are equivalent:
forkpress branch create marketing --from mainforkpress branchctl create marketing --from mainThese are also equivalent:
forkpress branch merge marketing --into mainforkpress branchctl merge marketing --into mainReference
For the full subcommand and option reference, use forkpress branch.