How to delete "-" file from svn? How to delete "-" file from svn? shell shell

How to delete "-" file from svn?


Usually, you need to terminate the list of command line options using a -- marker.

Try something like svn rm -- -.

Same if you want to remove the directory from the file system: rm -r -- -.


You could try svn rm ./-

It might not actually be a minus, tho', but a similar-looking character.


try svn rm -- -

-- means "stop reading options".