Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge TFS changeset between branches rather than selecting files

I am making changes in a feature branch and merging these across to the main development branch, by just merging the folders with modified files and letting TFS detect the files that need to be merged.

But is there not a way to say "just merge this changeset" so I know only the specific changes in a commit are being merged?

I am not having luck looking through the GUI or on Google for an answer one way or the other.

like image 574
Mr. Boy Avatar asked Feb 23 '16 13:02

Mr. Boy


People also ask

How do I merge two changesets in TFS?

You cannot merge multiple changesets in one go, unless the changesets are in sequence. Using the tf command line tool you specify a range of versions by separating the version with a tilde character. In this case the changes 162987 and 162967 will also be included.


1 Answers

Is there something from the "Selected Changesets" merge option that isn't working for you? You're able to select specific change sets to merge, though there can be potential issues.

From the merge dialogue, select your source and target. Make sure to select "Selected Changesets"

enter image description here

Now select the changeset your want to merge:

enter image description here

Finish the merge:

enter image description here

As per usual TFS merge, the changes are merged into your workspace, and not commited until you actually check in.

like image 92
Kritner Avatar answered Oct 13 '22 15:10

Kritner