cg-admin-uncommit(1) Manual Page

NAME

cg - admin-uncommit - undo a commit or a series of commits

SYNOPSIS

cg-admin-uncommit [-t] [COMMIT_ID]

DESCRIPTION

Takes a commit ID which is the earliest commit to be removed from the repository. If no parameter is passed, it uncommits the latest commit (HEAD).

OPTIONS

-t
This optional parameter makes cg-admin-uncommit(1) to roll back the tree as well to the previous commit. Without this option (by default) Cogito keeps the tree in its current state, therefore generating tree with local changes against the target commit, consisting of the changes in the rolled back commits.
-h, —help
Print usage help.

COPYRIGHT

Copyright © Matt Porter, 2005 Copyright © Petr Baudis, 2005

SEE ALSO

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