Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating from TFS to Git

Tags:

git

tfs

Is it possible to migrate from TFS 2008 to Git, and still preserve all the history, etc? I've seen some references that talk about doing it through SVN, but that seems rather complicated, and complicates my mission to introduce Git at my job.

like image 747
Henning Avatar asked May 20 '10 14:05

Henning


People also ask

Can you use Git with TFS?

Git in Visual Studio, Azure DevOps Services, and TFS is standard Git. You can use Visual Studio with third-party Git services, and you can also use third-party Git clients with TFS. To learn more, see Git and Azure Repos.

Can we use Git to clone from TFS?

You can clone all projects by specifying $/ as the tfs-repository path. If you do not specify a git repository name, it will clone into tfs-collection .

Does Microsoft use TFS or Git?

Microsoft recommends Git Repos One of the first things to know is that Microsoft has made Git the default version control for new Azure DevOps projects (whether Server or Services). Microsoft has documented: Git is the default version control provider for new projects.


1 Answers

There is a direct way its called git-tfs and it's up on github.

You just do a

  git tfs clone <tfs server> <tfs project> 

I recommend getting the source and adding it to your path separately so that you can debug it for any strangeness, but the code is pretty easy to step through.

I had a file that was an msi that was 500 MB that the client stored in tfs, that wouldn't convert, took a few hours to narrow it down.

like image 118
DevelopingChris Avatar answered Oct 19 '22 06:10

DevelopingChris