How to create a branch

branchbranching-and-mergingsvnversion control

How do I create a branch in SVN?

Best Answer

Create a new branch using the svn copy command as follows:

$ svn copy svn+ssh://host.example.com/repos/project/trunk \
           svn+ssh://host.example.com/repos/project/branches/NAME_OF_BRANCH \
      -m "Creating a branch of project"