pijul reset

Resets the working copy to the last recorded change.

In other words, discards all unrecorded changes.

Usage

    pijul reset [OPTIONS] [FILES]...

Args

<FILES>...

Only reset these files

Options

--channel <CHANNEL>

Reset the working copy to this channel, and change the current channel to this channel

--dry-run

Print this file to the standard output, without modifying the repository (works for a single file only)

-f, --force

Reset even if there are unrecorded changes

-h, --help

Print help information

--repository <REPO_PATH>

Set the repository where this command should run. Defaults to the first ancestor of the current directory that contains a .pijul directory