svntortoisesvn

What is the svn command-line equivalent to TortoiseSVN cleanup options that blow away all local changes?


TortoiseSVN has a cleanup dialog that looks like this:

enter image description here

What is the command-line equivalent for the last three options? I use those when I want to achieve a fresh checkout.

The TortoiseSVN docs don't list anything other than svn cleanup.


Solution

  • Delete unversioned files and folders

    Use the --remove-unversioned option with the svn cleanup command.

    Delete ignored files and folders Revert all changes recursively

    Use the svn revert command.

    IMPORTANT: Use these commands with caution - the result is irreversible.