Moving multiple files in TFS Source Control

前端 未结 4 1954
猫巷女王i
猫巷女王i 2021-01-29 21:19

I\'m using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I\

4条回答
  •  北荒
    北荒 (楼主)
    2021-01-29 21:48

    Use the tf.exe tool from the Visual studio commandline - it can handle wildcards:

    tf.exe move  
    

    Example:

    tf.exe move "$/My Project/V*" "$/My Project/Archive"
    

    [EDIT] As noted in the comments: move is an alias for rename. Both commands move history.

提交回复
热议问题