I was developing team project and suddenly realised that i've made so many changes, that i need create branch.
I've never used branching in TFS and when i saw "Branch\ "From Workspace version" i thought that's, what i need. But this option doesn't act as i supposed.
How can i create new branch, from my "LOCAL COPY of Project" and include all local changes"? The option that I mentioned above creates something like branch from...i don't know exacly from what, but i know for sure, that not from my local version with all changes. As i noticed, generated branch doesn't have files and project which i added.
What I would do is:
That way, you get a nice clean branch, and you get a record of the changes you have made.
Run the following command replacing the Shelve set name and directory structure with your own:
tfpt unshelve /migrate "MyShelveset" "/source:$/project/trunk" "/target:$/project/branch"
(quotes around shelveset name are required if it contains spaces)
This should help you avoid some of the problems I ran into when I was trying to follow the original instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With