delete SVN Command

How to use delete SVN (Subversion) Command in Linux / Windows?


delete command is used to remove a file from the svn server repository.


svn delete <filename>


  • To remove a file from server repo, you should have the same version of the file locally.
    svn delete test1.txt
    D test1.txt
    D - Deleting a file.
    test1.txt. - Deleted filename.


  • Then commit after delete.
    svn ci -m Delete


By executing the above cmd, the file 'test1.txt' will be deleted from both the server and local repository.Dont forget to call svn commit to delete a file from the server repo.

Ask Questions

Ask Question