简体   繁体   中英

How can i merge a /branch to /trunk using TortoiseSVN?

Assume i have a project in /trunk (revision: 10) And i have copy all files from /trunk to /branch/2011.06.01 and switch working copy to /branch.

there are some changed made and committed to /branch.

So that there is not sync between /trunk and /branch/2011.06.01, but how can i merge from /branch to /trunk to make it as same files?

or i just delete all files in trunk and copy from /branch?

I heavily suggest reading svn manual covering this case in details

Something like that should do:

go to trunk
svn up
svn merge -r 10:latestRevisionHere http://svn.example.com/branch/2011.06.01

=> check diffs, pay attention to newly spawned, moved, deleted files => commit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM