pijul checkout

Switch to a branch

Usage

pijul checkout [-h | --help] [-V | --version] [--repository <repository>] <branch>

Description

Reset the working copy to branch <branch> of the pristine, and set that branch as the current branch.

Example

From the repository root:

pijul checkout master

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>

    The branch of the pristine to reset the working copy to.