Files
cheatsheet-tldr/tldr/jj-simplify-parents
2025-07-06 00:23:01 +00:00

19 lines
566 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# jj simplify-parents
> Simplify parent edges for the specified revision(s).
> For example, "A -> B -> C | A -> C" gets simplified to "A -> B -> C".
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-simplify-parents>.
- Simplify parent edges of given revisions:
`jj simplify-parents {{[-r|--revisions]}} {{revsets}}`
- Simplify parent edges of given revisions and trees of their descendants:
`jj simplify-parents {{[-s|--source]}} {{revsets}}`