pijul reset

Resets the working copy to the last recorded change.

In other words, discards all unrecorded changes.

Usage

pijul reset [FLAGS] [OPTIONS] [files]...

Args

<files>...

Only reset these files

Flags

--dry-run

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

-h, --help

Prints help information

-V, --version

Prints version information

Options

--channel <channel>

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

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