简体   繁体   中英

Branching strategy for version control in tfs

New to branching concepts here.

We have a solution under TFS 2013 with no branches. Some of the files in the Solution (Used to marshal methods of a third party module) could be incompatible with previous versions and we have to update the usages in our solution based on the newly provided ones. These files tend to change once in few major releases (They do not get changed in every release).

we'd like to be able to access our previous releases and apply hot fixes as necessary.

Is creating a branch for each major release (along with labeling them) enough to achieve this?

I don't see why not.

Creating a branch / label at the point of a release gives you somewhere to go "back to" and create a hotfix.

The ALM Rangers have a series of blog post articles for this stuff, this one is the most appropriate to what you are asking about. I won't try and re-post the content here because it is too long and has lots of pretty pictures.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM