Profile photo
Submitted by Jadwiga Watson
on February 4th, 2012 at 06:29:24 EST

TFS Branch vs folder?

What is the difference between TFS regular folder vs Branch?

Profile photo
Replied by RaKumar
on February 16th, 2012 at 08:20:48 EST
Folder is folder/directory which contains files.
But in TFS branch is logical/virtual object which is copy of set of files from different part of repository. A Branch could contain files and folder structure. When branch is created in TFS, TFS does not actually copy files but creates pointer to original files. This is why creating a branch in TFS is faster. TFS manage with some algorithm to keep single copy of same file.
Accepted Answer