mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 06:46:47 +00:00
26 lines
603 B
Plaintext
26 lines
603 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://jj-vcs.github.io/jj/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}}`
|