From a5287d470e9f1c59ba7fcde1e01fea87445f25b5 Mon Sep 17 00:00:00 2001 From: "jj-docs[bot]" Date: Fri, 23 Feb 2024 17:45:51 +0000 Subject: [PATCH] Deployed 9767620 to prerelease with MkDocs 1.5.3 and mike 2.0.0 --- prerelease/cli-reference/index.html | 6 ++++-- prerelease/search/search_index.json | 2 +- prerelease/sitemap.xml.gz | Bin 462 -> 462 bytes 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/prerelease/cli-reference/index.html b/prerelease/cli-reference/index.html index 95fd40461..3cb73fa9c 100644 --- a/prerelease/cli-reference/index.html +++ b/prerelease/cli-reference/index.html @@ -5490,7 +5490,7 @@ does not match the jj help output exactly.

  • commit — Update the description and create a new change on top
  • config — Manage config options
  • describe — Update the change description or other metadata
  • -
  • diff — Compare file contents between two commits
  • +
  • diff — Compare file contents between two revisions
  • diffedit — Touch up the content changes in a revision with a diff editor
  • duplicate — Create a new change with the same content as an existing one
  • edit — Edit a commit in the working copy
  • @@ -5887,7 +5887,9 @@ Martin von Zweigbergk

    jj diff

    -

    Compare file contents between two commits

    +

    Compare file contents between two revisions

    +

    With the -r option, which is the default, shows the changes compared to the parent revision. If there are several parent revisions (i.e., the given revision is a merge), then they will be merged and the changes from the result to the given revision will be shown.

    +

    With the --from and/or --to options, shows the difference from/to the given revisions. If either is left out, it defaults to the working-copy commit. For example, jj diff --from main shows the changes from "main" (perhaps a branch name) to the working-copy commit.

    Usage: jj diff [OPTIONS] [PATHS]...

    Arguments: