Bootstrap FreeKB - Subversion (Version Control) - svn delete command
Subversion (Version Control) - 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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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