mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 23:45:28 +00:00
30 lines
688 B
Plaintext
30 lines
688 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# jj prev
|
|
|
|
> Move the working-copy commit to a parent revision.
|
|
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-prev>.
|
|
|
|
- Move the working-copy commit to the previous parent revision:
|
|
|
|
`jj prev`
|
|
|
|
- Move the working-copy commit a number of revisions backward:
|
|
|
|
`jj prev {{offset}}`
|
|
|
|
- Edit the parent revision directly, instead of creating a new working-copy commit:
|
|
|
|
`jj prev {{[-e|--edit]}}`
|
|
|
|
- Create a new working-copy commit instead of editing the parent revision directly:
|
|
|
|
`jj prev {{[-n|--no-edit]}}`
|
|
|
|
- Jump to the previous conflicted parent:
|
|
|
|
`jj prev --conflict`
|