Files
cheatsheet-tldr/tldr/jj-new
2026-01-13 00:19:20 +00:00

26 lines
599 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# jj new
> Create a new empty change.
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.
- 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}}`