Git -Tf Move parts of a large Tfs project

My team and I have a large TFS project with many Visual Studio solutions and many projects. We're in the process of splitting this project into smaller logical pieces and moving the pieces to separate git repositories. I started looking at git -tf to keep file history. I need to do to select 3-4 folders from a flat structure in a tfs project and copy them into one git repository. Using git -tf clone or git -tf configure / pull, I seem to be getting one repo per parent folder in the tfs project. Is there a way to work around this, or rearrange the tfs project so that the folders I need are moved to the shared parent folder?

+3


source to share


1 answer


There is no way to selectively pull from TFVC in Git, and you have to select the parent branch to scoped.

However, once you have folders in Git, there is a Split command that will allow you to split the repo into multiple parts. This allows you to select folders.



http://lostechies.com/johnteague/2014/04/04/using-git-subtrees-to-split-a-repository/

+4


source







All Articles