mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
jj-duplicate: add short/long options (#20718)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
@@ -13,19 +13,19 @@
|
||||
|
||||
- Duplicate a revision onto a different parent:
|
||||
|
||||
`jj duplicate --destination {{dest_revset}} {{revset}}`
|
||||
`jj duplicate {{[-d|--destination]}} {{dest_revset}} {{revset}}`
|
||||
|
||||
- Duplicate a revision and insert it **after** other revision(s):
|
||||
- Duplicate a revision and insert it after other revision(s):
|
||||
|
||||
`jj duplicate --insert-after {{after_revset}} {{revset}}`
|
||||
`jj duplicate {{[-A|--insert-after]}} {{after_revset}} {{revset}}`
|
||||
|
||||
- Duplicate a revision and insert it **before** other revision(s):
|
||||
- Duplicate a revision and insert it before other revision(s):
|
||||
|
||||
`jj duplicate --insert-before {{before_revset}} {{revset}}`
|
||||
`jj duplicate {{[-B|--insert-before]}} {{before_revset}} {{revset}}`
|
||||
|
||||
- Duplicate onto multiple parents (creates a merge commit):
|
||||
|
||||
`jj duplicate --destination {{destination1}} --destination {{destination2}} {{revset}}`
|
||||
`jj duplicate {{[-d|--destination]}} {{destination1}} {{[-d|--destination]}} {{destination2}} {{revset}}`
|
||||
|
||||
- Duplicate multiple revisions:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user