---
title: "svn create branches and merge  branches to trunk"
author: "chenp1111"
date: "2014-07-17T10:22:49Z"
tags: []
categories: ["开源软件"]
slug: "svn-create-branches-and-merge-branches-to-trunk"
draft: false
lastmod: "2014-08-12T09:21:01Z"
id: 2093044
url: "https://chenp1111.iteye.com/blog/2093044"
---

1，生成branches

    a,在trunk目录下点击SVN  -- branches/tag看到如下页面

![](http://dl2.iteye.com/upload/attachment/0099/2177/1f1ba7bc-e605-33b8-86cf-923cc5c28426.jpg)


    b, to path 处写好本次branche所放位置

    c,写上本次生成branche的备注

    d,选择本次branche从svn的某一个版本开始生成

2,merge  branches to trunk
  把一个branche merge到trunk
  a, 找到trunk目录，点击SVN  merge
   ![](http://dl2.iteye.com/upload/attachment/0100/0887/8409bdb9-9d07-305a-a014-ec8dc552c25d.png)
  b,merge from 写好本次merge来自的目录

  c,revision range to merge写好merge来自的版本号，默认为 all revisions
  ![](http://dl2.iteye.com/upload/attachment/0100/0889/5221a343-3a4a-31ff-be5d-a34e029223a8.jpg)

  d,默认merge到当前trunk目录下