Unshelve to another branch

后端 未结 3 743
北恋
北恋 2021-01-31 02:43


I\'m trying to unpack my changes to the another branch using TFS Power Tools. I\'m trying to execute command

tfpt unshelve /migrate \"NuGet Build\" \"/sourc         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-01-31 03:24

    You can define your path in cmd with the TFPT. And then, from there, you go to the destination folder or workspace where you want to unshelve your code.

    1. c:\>path = %path%;C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools
    
    2. cd c:\[some location]\"destination workspace"
    
    3. tfpt unshelve /migrate "NuGet Build" /source:"$/ProjectName/Main/Source" /target:"$/ProjectName/Main/Target-NuGet"
    

    Here you have a video that explains this.

    Link http://msdn.microsoft.com/en-us/vstudio/cc896548.aspx

提交回复
热议问题