SYNOPSIS

cg-clean [-d] [-D] [-n] [-q] [-x]

DESCRIPTION

Cleans file and directories that are not under version control. When run without arguments, files ignored by cg-status(1) and directories are not removed.

OPTIONS

-d

Also clean directories and their contents.

-D

Same as -d but try harder (change permissions first).

-n

Do not actually remove the files, just pretend to do so.

-q

Quiet - don't report what's being cleaned.

-x

Also clean files ignored by cg-status(1), such as object files.

-h, --help

Print usage summary.

--long-help

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

--version

Print Cogito version.

COPYRIGHT

Copyright © Pavel Roskin, 2005

SEE ALSO

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