How to Branch and keep the branch history with TFS

2019-09-09 15:49发布

问题:

I need to create a branch in TFS and copy the code and the history from the parent branch.

I am using TFS 2013 with Visual Studio 2013, is there a way to easily do this ?

回答1:

Branching is a technique for creating a parallel set of versions of your files. So the branch will have the same codebase as parent branch.

Regarding the history, the file will keep the history under the branch change, check the screenshot below: