← 返回命令列表

Linux command

jj-split 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Split current change

jj split

Split specific revision

jj split -r [rev]

Split specific files

jj split [file1] [file2]

Interactive split

jj split -i

说明

jj split divides a change into multiple changes. It separates modifications into logical units. The command supports interactive hunk selection. Split changes share the original parent.

参数

-r _REV_
Revision to split.
-i, --interactive
Interactive hunk selection.
--help
Display help information.

FAQ

What is the jj-split command used for?

jj split divides a change into multiple changes. It separates modifications into logical units. The command supports interactive hunk selection. Split changes share the original parent.

How do I run a basic jj-split example?

Run `jj split` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -r _REV_ do in jj-split?

Revision to split.