SYNOPSIS

cg-export [-r TREE_ID] DESTFILE

DESCRIPTION

Takes a destination and optionally a tree ID as a parameter, defaulting to HEAD.

The destination can be either a .tar, .tar.gz, .tar.bz2 or .tgz for generating a tarball, or .zip for generating a zip file. Destination specifiers not ending by any of these extensions are assumed to be directory names, and the tree is exported to the given directory.

OPTIONS

-r TREE_ID

Base the export on the given tree.

-h, --help

Print usage summary.

--long-help

Print user manual. The same as found in cg-export(1).

--version

Print Cogito version.

COPYRIGHT

Copyright © Johannes E. Schindelin, 2005

SEE ALSO

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