cg-restore(1)
=============

NAME
----
cg-restore - restore removed/changed files in the working tree

SYNOPSIS
--------
cg-restore [FILE]...

DESCRIPTION
-----------
Restore given files to their original state. Without any parameters,
it recovers any files removed locally whose removal was not recorded
by link:cg-rm.html[cg-rm(1)].

If passed a set of file names, it restores those files to their
state as of the last commit (including bringing files removed with
link:cg-rm.html[cg-rm(1)] back to life; FIXME: does not do that part yet).

This command is complementary to the link:cg-cancel.html[cg-cancel(1)] command, which
forcefully abandons all the changes in the working tree and
restores everything to a proper state (including unseeking,
cancelling merge in progress and rebuilding indexes).

OPTIONS
-------


-h, --help::
	Print usage help.



COPYRIGHT
---------
Copyright (C) Petr Baudis, 2005

SEE ALSO
--------
cg-restore command is part of link:cogito.html[cogito(7)],
a toolkit for managing link:git.html[git(7)] trees.
