English draughts for GEM

Help: revert
Login

Help: revert

The "revert" command:

Usage: fossil revert ?OPTIONS? ?FILE ...?

Revert to the current repository version of FILE, or to the baseline VERSION specified with -r flag.

If FILE was part of a rename operation, both the original file and the renamed file are reverted.

Using a directory name for any of the FILE arguments is the same as using every subdirectory and file beneath that directory.

Revert all files if no file name is provided.

If a file is reverted accidentally, it can be restored using the "fossil undo" command.

Options:

-r|--revision VERSION
Revert given FILE(s) back to given VERSION

See also: redo, undo, checkout, update