1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-19 10:35:25 +02:00
tldr/pages/common/jj.md

29 lines
873 B
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]}} {{[-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 ...}}`
- 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}}`