开发者

SVN checkout projects trunk and branches without tags

开发者 https://www.devze.com 2023-02-14 09:15 出处:网络
I have a large project in SVN with classical structure: myproject/ branches/ developer1-mybranch1/ developer2-mybranch3/

I have a large project in SVN with classical structure:

myproject/
  branches/
    developer1-mybranch1/
    developer2-mybranch3/
    ...
  tags/
    tag1/
    tag2/
    ....
  trunk/

I want to create a new 开发者_运维问答branch from trunk and as I know, I should checkout repository to my computer. Can I checkout only trunk and branches folders? What I must do for this?


You don't need to checkout the whole repository to create a branch, just

svn cp $TRUNKURL $NEWBRANCHURL
0

精彩评论

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