Unshelve to another branch

梦想的初衷 提交于 2019-12-02 17:03:14
carzogliore

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

I know this has been answered but for me the problem was easily solved by using Visual Studio command prompt instead of the default windows CMD. Most solutions out there just say "Open CMD..." which is probably where the problem lies.

The reason is windows CMD is aware of the power tools commands (e.g. tfpt) but not of the normal VS commands (e.g. tf).

I found out where the problem.
I'm tried to use TFS Power Tools 2008 because we are using TFS 2008. But I should use TFS Power Tools the same version as the Visual Studio.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!