开发者

SVN checkout new branch based on local files of old branch

开发者 https://www.devze.com 2023-01-15 19:19 出处:网络
Someone branched our trunk and now I need to checkout the new branch. I already have trunk checked out locally. Since its a huge repo with GBs of files, it will take forever to checkout the new branch

Someone branched our trunk and now I need to checkout the new branch. I already have trunk checked out locally. Since its a huge repo with GBs of files, it will take forever to checkout the new branch.

But since very few files have changed between the trunk and the new branch, how can I just cop开发者_StackOverflow社区y my local trunk, call it the branch, then svn up the differences? Thanks!

Bonus: How to do it where I don't even have to copy trunk, just work off the differences.


you want svn switch

In your working copy (of trunk), just svn switch <url/to/branch>

0

精彩评论

暂无评论...
验证码 换一张
取 消