How do I create a branch?

sparkes picture sparkes · Aug 5, 2008 · Viewed 623.2k times · Source

How do I create a branch in SVN?

Answer

sparkes picture sparkes · Aug 5, 2008

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"