cg-clean(1)
===========

NAME
----
cg-clean - remove untracked files from the working tree

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 summary.

--long-help::
	Print user manual. The same as found in gitlink:cg-clean[1].
--



COPYRIGHT
---------
Copyright (C) Pavel Roskin, 2005

SEE ALSO
--------
cg-clean is part of gitlink:cogito[7],
a toolkit for managing gitlink:git[7] trees.
