2025-07-24 22:27:13 -06:00
|
|
|
# jj new
|
|
|
|
|
|
|
|
|
|
> Create a new empty change.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Create a new empty change on top of current revision:
|
|
|
|
|
|
|
|
|
|
`jj new`
|
|
|
|
|
|
|
|
|
|
- Create a new empty change on top of specific revision:
|
|
|
|
|
|
|
|
|
|
`jj new {{revision}}`
|
|
|
|
|
|
|
|
|
|
- Create a new merge change on top of multiple revisions:
|
|
|
|
|
|
|
|
|
|
`jj new {{revset1 revset2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Create a new empty change before and after specified revisions:
|
|
|
|
|
|
|
|
|
|
`jj new {{[-B|--insert-before]}} {{revsets}} {{[-A|--insert-after]}} {{revsets}}`
|