TFS 2017/VS 2017 unshelve to different branch, alternatively create a branch from “Main” with saved, uncommitted changes

  • Thread starter Thread starter M4Z
  • Start date Start date
M

M4Z

Guest
This describes a scenario that I find myself in now and then when I realize I should have worked in a development branch in TFS. Then I would like to shelve my changes and unshelv into a dev branch, alternatively create a branch from "Main" with saved, uncommitted changes. What is described on this linked page and many other pages is possible with earlier versions of VS and TFS using the TF power tools command utility: http://geekswithblogs.net/TarunArora/archive/2011/06/06/unshelve-shelveset-created-from-one-branch-to-another.aspx

Now those features are no longer available, because "most of the previous Power Tools have been integrated into TFS 2017" (according to https://docs.microsoft.com/en-us/visualstudio/releasenotes/tfs2017-relnotes ). But there is no command line utility AFAIK available to enable such operations. How can I achieve unshelving to another branch with Visual Studio 2017 and TFS 2017? Alternatively, how can I create a branch from "Main" with saved, uncommitted changes?

[this question has also been posted on Stackoverflow]

Continue reading...
 
Back
Top