pijul checkout

Switch to a branch


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


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


From the repository root:

pijul checkout master


  • -f, --force

    Only verify that there are no unrecorded files moves, deletions or additions (ignores unrecorded changes in files). Much faster on large repositories.

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