Coming from a background with SVN and Mercurial/Git experience, I'm somewhat confuzzled by the terminology in TFS around branching. I'm trying to create a feature branch of a TFS Team Project by choosing the Branch...
context menu option on the Team Project in the Source Control Explorer. It looks like this:
What does the "Target" mean here? Is that akin to the SVN-way of branching, where you indicate a path on the server? Is there a specific path for branches, or is it convention-based? I'm tempted to choose something like $/branches/MyProjectName/FeatureXYZ
.
I've done some research to find out myself what "Target" means. I've clicked the ?
top right and found this relevant msdn page, but the only relevant explanation I could find goes like this:
In the Target Branch Name box, specify the path of the new branch.
That doesn't help much. I had already assumed that it would be a path.
Furthermore, sharing my research so far, I've used my Google-Fu too but found no concise explanation. Finally, I've reviewed the suggested duplicates while writing this post as well as the similar questions, but found no answer.
Oh, and I've also tried entering $/MyProjectName/FeatureXYZ
and clicking okay, but this presents an alert with this error:
The target item $/MyProjectName/FeatureXYZ cannot be under the source item $/MyProjectName.
Bottom line: what is a "Target" in TFS branching terminology, and how should I choose one?