clean-treeΒΆ

Purpose:

Remove unwanted files from working tree.

Usage:

bzr clean-tree

Options:
--ignored

Delete all ignored files.

--dry-run

Show files to delete instead of deleting them.

-v, --verbose

Display more information.

--unknown

Delete files unknown to bzr (default).

-q, --quiet

Only display errors and warnings.

-d ARG, --directory=ARG
 

Branch to operate on, instead of working directory

--usage

Show usage message and options.

--force

Do not prompt before deleting.

--detritus

Delete conflict files, merge backups, and failed selftest dirs.

-h, --help

Show help message.

Description:

By default, only unknown files, not ignored files, are deleted. Versioned files are never deleted.

Another class is ‘detritus’, which includes files emitted by bzr during normal operations and selftests. (The value of these files decreases with time.)

If no options are specified, unknown files are deleted. Otherwise, option flags are respected, and may be combined.

To check what clean-tree will do, use –dry-run.

Previous topic

checkout

Next topic

commit

This Page