开发者

tfs copy folders from one team project to another

开发者 https://www.devze.com 2022-12-15 09:08 出处:网络
I have one TFS server, with 4 team projects in it. i want to copy folders of of one team project into another team project. here\'s the tree:

I have one TFS server, with 4 team projects in it. i want to copy folders of of one team project into another team project. here's the tree:

TFS(Server) 
|_ A1(Team project1) 
|_ A2(Team project2) 
          |______(Folder1) 
          |______(Folder2) 
  开发者_运维问答        |______(Folder3) 
          |______(Folder4) 
|_ A3(Team project3) 
|_ A4(Team project4)

I want to copy folders in A2 (TeamProject2) --> (Folder2) only to A1 (Team Project1).

How do I do this?


There are several options. It depends what you mean by "copy," and what your goals are for the two copies going forward.

1) You could use the Branch feature. This is surely the most common pattern in software configuration management. Speaking very broadly, it's what enabled parallel development.

2) You could use the Move feature. It's just what it sounds like: the directories are moved from one place to another. Their identity and history is unchanged.

3) You could copy the files on your local disk and use the Add feature. (I think this is what JD's solution was trying to accomplish, albeit in a more roundabout and error-prone fashion). I don't really see the point but it might be useful in some circumstances.

0

精彩评论

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

关注公众号