Unshelve a shelveset from one branch to another in Visual Studio 2022 using TFS

175 Views Asked by At

I have created a shelve set working on a wrong branch. There are quite some changes and now i wanted to see if I can somehow migrate that change to the target branch. The source and target branch are in same workspace.

When I undo all pending changes from source and target, Take the latest and try to unshelve from the shelveset. It gets applied to the source (wrong) branch itself. There is no option to select the target branch.

I tried Team Foundation Server Power Tools it's not supported with VS 2022. Is there any way to achieve this OR is rework the only way?

I tried

tfpt unshelve /migrate /source:"$Source" /target:"$target" "shelvesetname"

It says the tfpt is not recognized, as it's not compatible with VS 2022

0

There are 0 best solutions below