26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• <strong>Development</strong> – Container for isolation development branches<br />

o Feature A<br />

• Source<br />

o Feature B<br />

• Source<br />

• Main – Main integration build branch<br />

o Source<br />

o Other asset folders<br />

• Releases– Container for Release branches<br />

o Release 1<br />

• Source<br />

o Release 2 – Release currently locked down<br />

• Source<br />

In this case, active development is occurring in the Feature branches and you have two<br />

merge frequency decisions to make:<br />

1. How often should feature teams merge changes from the Main branch into their<br />

Feature branch?<br />

2. How often should feature teams merge their changes into the Main branch?<br />

The following merge frequency is a proven strategy to reduce breaking changes and<br />

reduce migration times:<br />

1. Feature teams should merge their changes into the Main branch as soon as the<br />

feature is complete.<br />

2. Feature teams should merge changes from the Main on a regular basis to ensure<br />

integration compatibility of their features when they are complete. Ideally, you<br />

should merge once per day, and not go more than two days between merges.<br />

Additional Resources<br />

• To learn how to merge files and folders, see “How to: Merge Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181428(VS.80).aspx<br />

Check-in and Check-in Policies<br />

• What is a changeset?<br />

• What is a check-in policy?<br />

• When and how can I override a check-in policy?<br />

• How do I enforce a policy?<br />

• How do I use a check-in verification system?<br />

• If I modify file names or delete files on the disk, does version control get out of<br />

sync?<br />

• How does automatic conflict resolution work?<br />

• How do I resolve conflicts manually?<br />

• How do I avoid conflicts?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!