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 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, such as object files.

-h, --help

Print usage help.

COPYRIGHT

Copyright © Pavel Roskin, 2005

SEE ALSO

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