FreeKB - Subversion svn delete command
Subversion - svn delete command

This assumes you have Subversion installed on your local PC. These examples are based on Linux.

This assumes you have checkout out a Subversion directory. Let's say you've checked out files to /tmp/SVN, and you want to delete /tmp/SVN/foo.txt. Delete foo.txt.

rm /tmp/SVN/foo.txt


svn delete foo.txt.

svn delete /tmp/SVN/foo.txt


If the delete is successful, the following will be displayed, which means that the delete is ready to be committed.

D    foo.txt


Commit the delete.

svn commit --message 'deleting file' foo.txt


If the commit is successful, the following will be displayed.

Deleting foo.txt

Committed revision 123456


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 7f024 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |