SYNOPSIS

cg-reset

DESCRIPTION

Reverts the working tree to a consistent state before any changes to it (including merges etc.) were done. This command will rebuild the state of the tree according to the commit of .git/refs/heads/master, so if your working tree got into basically any inconsistent state, this will cure it.

Basically, this is the opposite of cg-commit in some sense.

This command is complementary to cg-restore, which only brings individual files in sync with their state at the time of the last commit.

OPTIONS

-h, --help

Print usage help.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

cg-reset command is part of cogito(7), a toolkit for managing git(1) trees.