pijul apply

Apply patches by their hash or patch file


pijul apply [-h | --help] [-V | --version] [--repository <repository>] [--branch <branch>] [<patch>…]


This command is essentially meant to be called by pijul push over SSH.

It applies patches to a branch in the pristine, either to the current branch (if --branch is not specified), or to branch <branch>.

If that branch does not exist, it will be created.

<patch> must be a list of patch hashes or internal identifiers. If empty, gzipped-compressed patch files are read from the standard input. In other words, running pijul apply hashhashhash is equivalent on Unix to running cat .pijul/patches/hashhashhash.gz | pijul apply.


Apply the first patch in Pijul's development repository:

pijul apply AbaeCc9Y9jxGRgkapqjMv66dfZEvSUf3biXZa2LpcYx-CY646dQ9HFmL4R6x9Mez_cCz5QwW4w38P1O4bwVsjjI


  • -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>

    Apply the patches to branch <branch> instead of the current branch.

  • <patch>…

    A list of patch hash or internal identifiers to apply to the branch.