# cortex fork

Source: https://usecns.dev/cortex-cli-fork/

[Start here](https://usecns.dev/manual-cortex/)
[CLI commands](https://usecns.dev/commands-cortex/)
[Configuration & integration](https://usecns.dev/cortex-topics/)

Usage: `cortex fork [--at <ENTRY_ID>] [--title <TEXT>] [COMMON_OPTIONS]`. POST `/fork`. `--at` chooses the source entry; omitted fetches the latest entry with `limit=1&order=descending`. An empty source conversation cannot be forked. Optional title names the new branch. The CLI prints the result; it does not silently change the `--conv` value of future invocations.

See [CLI conventions](https://usecns.dev/cortex-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-cortex/).