Convert TFS Project to Git protocol in TFS 2013

Microsoft Team Foundation Server (TFS) 2013, supports Git protocol. When you create TFS project, you choose should it be as Git or TFS (legacy) for source-control. I have all projects in TFS mode, and I would like to connect my Visual Studio 2013 to existing TFS projects using new - git protocol so I will have additional features. How can I achieve this for existing projects ? (for new ones its clear, just choose option while creating TFS Project)


There is misunderstanding here. TFVC and Git are two different models in TFS: it is not simply the protocol on the wire; the way data is stored and manipulated, both on the client and the server, are different. You may create new projects, but not converting existing one, nor let the two models coexist in the same project. In case you want to migrate you may use Git-tf to move sources, but you need to move also the other data: work items, builds, tests.

The first question you have to ask yourself is: do I need this? See Which version control system should I use: TFVC or Git? for a start and consider migration costs in the picture.

You can migrate from TFVC to GIT.

You need to:

  • create a new git repo on TFS
  • Clone down the TFVC repo with tfs-git (this will convert, with history, into a local git repo)
  • Clean up any tfs artifacts
  • Add git ignore etc
  • Set the git remote to the new tfs git powered repo
  • push up
  • happiness

There is a write up on the MSDN blog here:

Or just look at the tfs-git docs:

Need Your Help

Google Push Notification Does Not Work In some Networks

android networking push-notification

I have an android application (not in the google play) and it is being used by a company (in their building) right now. It uses Google Push Notifications and actually notifications mean everything.

how to change url of uiwebview when button is clicked?

iphone xcode uiwebview interface-builder iphone-sdk-4.1

hi i guess this is pretty simple and hope it will be answered in a easy manner!

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.