mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 05:58:28 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/jj-split
Normal file
29
tldr/jj-split
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# jj split
|
||||
|
||||
> Split a revision in two.
|
||||
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-split>.
|
||||
|
||||
- Split the given revision into two interactively, putting the second revision on top of it:
|
||||
|
||||
`jj split {{[-r|--revision]}} {{revision}}`
|
||||
|
||||
- Split out matching files from the given revision:
|
||||
|
||||
`jj split {{[-r|--revision]}} {{revision}} {{fileset}}`
|
||||
|
||||
- Split the given revision, putting the second revision on top of given destination(s):
|
||||
|
||||
`jj split {{[-r|--revision]}} {{revision}} {{[-d|--destination]}} {{revset}}`
|
||||
|
||||
- Split the given revision, putting the second revision before and/or after other revision(s):
|
||||
|
||||
`jj split {{[-r|--revision]}} {{revision}} {{[-B|--insert-before]}} {{revset}} {{[-A|--insert-after]}} {{revset}}`
|
||||
|
||||
- Split the given revision into two parallel revisions:
|
||||
|
||||
`jj split {{[-r|--revision]}} {{revision}} {{[-p|--parallel]}}`
|
||||
Reference in New Issue
Block a user