How do I create a branch and how to use one branch in trunk in SVN?

152 Views Asked by At

I have one php project which have two different branch and inside it some content is different. I want to create 2 branches for it in SVN but now question is how to use one branch in trunk? If some files are common in both branches and want to commit data in both branches then how can I do it? Is it possible to update some file in both branches or not?

1

There are 1 best solutions below

2
On

I would recommend to add the most recent version to trunk and branch this. Then you can copy all data in this new branch and commit it. Then you can see all changes.

Is it possible to update some file in both branches or not?

You can use patch files to apply changes to more then one branch (including tunk).