switch SVN Command

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


switch command is used to update one branch of working copy to any other different URL.


svn switch <URL> path


  • Now you can update the working copy to new url using the below command.
    svn switch /home/test/mytest

  • /home/test/mytest - New path to copy the files and directories of working copy.
    Now the files and directories of working copy will be moved to new folder mytest
    D test2.txt
    C test1
    D abc
    Updated to revision 7.



By executing the above cmd, your local working copy will be changed to new path '/home/test/mytest' and all the files and directories will be copied from the server repo.

Ask Questions

Ask Question