Options (4)
-f, --frombooleanRestore files from a revision into another revision
Example:
jj restore {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revset}} {{filesets}}-t, --intobooleanRestore files from a revision into another revision
Example:
jj restore {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revset}} {{filesets}}-c, --changes-inbooleanUndo the changes in a revision as compared to the merge of its parents
Example:
jj restore {{[-c|--changes-in]}} {{revset}} {{filesets}}-i, --interactivebooleanInteractively choose what parts to restore
Example:
jj restore {{[-f|--from]}} {{revset}} {{[-t|--into]}} {{revset}} {{[-i|--interactive]}}Examples (3)
Restore files from a revision into another revision
jj restore [-f|--from] revset [-t|--into] revset filesetsUndo the changes in a revision as compared to the merge of its parents
jj restore [-c|--changes-in] revset filesetsInteractively choose what parts to restore
jj restore [-f|--from] revset [-t|--into] revset [-i|--interactive]made by @shridhargupta | data from tldr-pages