How do I create a branch?

后端 未结 10 1039
梦谈多话
梦谈多话 2020-12-02 03:24

How do I create a branch in SVN?

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 04:04

    Top tip for new SVN users; this may help a little with getting the correct URLs quickly.

    Run svn info to display useful information about the current checked-out branch.

    The URL should (if you run svn in the root folder) give you the URL you need to copy from.

    Also to switch to the newly created branch, use the svn switch command:

    svn switch http://my.repo.url/myrepo/branches/newBranchName
    

提交回复
热议问题