Skip to content

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

Terminal window
forkpress branchctl [--work-dir <path>] [--php-bin <path>] <command> [options]

Options

branchctl accepts the same shared options and subcommand options as forkpress branch:

OptionDefaultDescription
--work-dir <path>.forkpressSite state directory whose branches should be managed.
--php-bin <path>Embedded PHPPHP binary used for runtime helpers and merge operations.
-h, --helpNonePrint branch help.

Examples

These commands are equivalent:

Terminal window
forkpress branch create marketing --from main
forkpress branchctl create marketing --from main

These are also equivalent:

Terminal window
forkpress branch merge marketing --into main
forkpress branchctl merge marketing --into main

Reference

For the full subcommand and option reference, use forkpress branch.