cg-restore(1)

NAME

cg-restore - restore files in the working tree to the giv
en state

SYNOPSIS

cg-restore [-f] [-r ID] [FILE]....sp

DESCRIPTION

Arraytively) removed locally whose removal was not recorded by
cg-rm(1)..sp If passed the -f parameter, it restores the files to
their state as of the last commit (including bringing files removed with cg-rm(1) back to life)..sp If passed the -r parameter,
it will not restore the file as of the last commit, but to the
state in the given commit, tree, or blob. The list of files is
mandatory in this case..sp For the "restore-to-last-commit" usage, this command is complementary to the cg-reset(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)..sp

OPTIONS

Array-h, --help
Print usage summary.
--long-help
Print user manual. The same as found in cg-restore(1).

COPYRIGHT

Copyright © Petr Baudis, 2005.sp

SEE ALSO

Array12/05/2006
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout