Remove unwanted files from working tree.
Delete conflict files, merge and revert backups, and failed selftest dirs.
- -d ARG, --directory=ARG
Branch to operate on, instead of working directory.
Show files to delete instead of deleting them.
Do not prompt before deleting.
- -h, --help
Show help message.
Delete all ignored files.
- -q, --quiet
Only display errors and warnings.
Delete files unknown to brz (default).
Show usage message and options.
- -v, --verbose
Display more information.
By default, only unknown files, not ignored files, are deleted. Versioned files are never deleted.
Another class is ‘detritus’, which includes files emitted by brz 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.