pijul diff

Show changes since the last recorded version

Usage

pijul diff [-h | --help] [-V | --version] [--repository <repository>] [--branch <branch>] [prefix…]

Description

Print the difference between the pristine and the working copy, or in other words, what would be recorded if record were called now.

This command can compare another branch than the current one using the --branch argument, and can compare the directory or file in <prefix> instead of the whole directory.

Example

Show all the changes in the "src" and "tests" directories.

pijul diff src tests

Options

  • -h, --help

    Print a help message and exit.

  • -V, --version

    Print the version of Pijul and exit.

  • --repository <repository>

    Don't run this command in the current directory, run it in <repository> instead.

  • --branch <branch>

    Compare branch <branch> instead of the current branch (the default).

  • [prefix…]

    A (possibly empty) list of paths in the repository to compare with the pristine. If empty, the whole repository is compared.