How can I move a mistakenly placed TFS branch?

2019-04-04 05:07发布

I have just branched from Main to v5.0 but I realized that I want to move this branch inside the Release folder.

How should I proceed with TFS 2010?

Thanks.

1条回答
迷人小祖宗
2楼-- · 2019-04-04 05:33

Simply right-click on your branch in Source Control and select 'Move..'. Set your desired destination path, and commit this change. You should be OK.

I think I 've read somewhere that moving folders & renaming folders shouldn't be done in separate steps, so if you plan to also rename your branch, do this in a next step.

Once you 're done, you should check that with right-clicking MAIN > "branching and merging" > "merge..." you have a target branch to your moved/renamed branch.

查看更多
登录 后发表回答