mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-30 14:53:55 +02:00
37 lines
1 KiB
Markdown
37 lines
1 KiB
Markdown
# jj
|
|
|
|
> Jujutsu, a version control system.
|
|
> Some subcommands such as `log`, `desc`, `new`, `git`, etc. have their own usage documentation.
|
|
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/>.
|
|
|
|
- Update description of the revisions specified by given revsets (e.g. `B::D`, `A..D`, `B|C|D`, etc.):
|
|
|
|
`jj {{[desc|describe]}} {{[-m|--message]}} "{{message}}" {{[-r|--revision]}} {{revsets}}`
|
|
|
|
- Create a new commit/revision on top of a given revision:
|
|
|
|
`jj new {{revset}}`
|
|
|
|
- Create a new merge commit on top of multiple revisions:
|
|
|
|
`jj new {{revset1 revset2 ...}}`
|
|
|
|
- Update the working copy to point to a revision:
|
|
|
|
`jj edit {{revset}}`
|
|
|
|
- Undo the previous command (which may itself have been `undo`):
|
|
|
|
`jj undo`
|
|
|
|
- Execute a jj subcommand without snapshotting the working copy:
|
|
|
|
`jj --ignore-working-copy {{subcommand}}`
|
|
|
|
- Execute a jj subcommand at an operation:
|
|
|
|
`jj {{[--at-op|--at-operation]}} {{operation}} {{subcommand}}`
|
|
|
|
- Display help for a specific subcommand (like `new`, `commit`, `desc`, etc.):
|
|
|
|
`jj help {{subcommand}}`
|