snippetbashTip
jj operation — Work with the operation log of a `jj` repository. More information: <https://docs.jj-vcs.dev/latest/
Viewed 0 times
thecommandoperationclilogwithjj operationwork
Problem
How to use the
jj operation command: Work with the operation log of a jj repository. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-operation>.Solution
jj operation — Work with the operation log of a jj repository. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-operation>.Show operation log:
jj {{[op|operation]}} logUndo the last operation:
jj {{[op|operation]}} undoUndo a given operation:
jj {{[op|operation]}} undo {{operation}}Restore the repository to its state at a given operation:
jj {{[op|operation]}} restore {{operation}}Show changes to the repository in an operation:
jj {{[op|operation]}} show {{operation}}Show stat, summary, and patch of modifications of an operation:
jj {{[op|operation]}} show {{--stat}} {{[-s|--summary]}} {{[-p|--patch]}} {{operation}}Code Snippets
Show operation log
jj {{[op|operation]}} logUndo the last operation
jj {{[op|operation]}} undoUndo a given operation
jj {{[op|operation]}} undo {{operation}}Restore the repository to its state at a given operation
jj {{[op|operation]}} restore {{operation}}Show changes to the repository in an operation
jj {{[op|operation]}} show {{operation}}Context
tldr-pages: common/jj operation
Revisions (0)
No revisions yet.