How do remove unversioned files

Asked by Lucius on 2007-06-24

I have my source tree, but it contains hundreds of files that are not part of the repository, such as temporary compiler and linker output files, etc... I like to run a command that deletes ALL files that are not in the repository (unversioned).
Is there a single command that does that?
Thanks a lot.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2007-06-24
Last reply:
2007-06-24
Elliot Murphy (statik) said : #1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try the clean-tree command, which is provided by the bzrtools plugin.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGfsVqGi43imCMARIRAvBEAJ47GANctkNsf6a7DbWKd7yDU1WzIgCfR8rM
0Qgrb4v7kVFWHqj5VHKS3lk=
=4RXy
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Lucius for more information if necessary.

To post a message you must log in.