snippetbashTip
jj new — Create a new empty change. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.
Viewed 0 times
createcommandjj newnewemptyclichangemore
Problem
How to use the
jj new command: Create a new empty change. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-new>.Solution
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 newCreate 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}}Code Snippets
Create a new empty change on top of current revision
jj newCreate 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}}Context
tldr-pages: common/jj new
Revisions (0)
No revisions yet.