Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a branch be made from a previous changeset?

Tags:

I need to create a branch at a specific Changeset in TFS. Is this doable?

For example, I have changeset 1528 that was the last check in on my project. But I want to branch from changeset 1487. Can this be done?

If so, how?

Note: I am using TFS 2008

like image 753
Vaccano Avatar asked May 03 '10 21:05

Vaccano


People also ask

How do I merge changesets in another branch?

Use the drag and drop operation to merge branches You can use the drag and drop feature to merge a changeset or a branch to another branch. For more information, see Merge folders and files.

How do I get a specific changeset in TFS?

Take searching for a changeset in Visual Studio's TFS Source Explorer. Luckily if super easy to do! When you're in the Source Explorer, simply press Ctrl + G and the Find ChangeSet dialog will appear.

How do I merge branches in TFS?

Right-click the main branch, point to Branching and Merging, and then click Merge… The Source Control Merge Wizard appears. On the Select the source and target branches for the merge operation screen: In Source branch, specify the main branch.


1 Answers

Yes. When a branch is created you can choose the historical point in time when it takes effect (date, changeset, etc).

See Visual Studio TFS Branching and Merging Guide for some great information on recommended branching practices.

Or How to: Branch Files and Folders (MSDN) for more explicit instructions on getting this dialog up to create a branch.

like image 137
Jason Williams Avatar answered Sep 22 '22 13:09

Jason Williams