Git to TFS Migration Experiment: Part 1

After doing a combo talk* with one of my earliest tech community heroes, Tim Rayburn, at the North Dallas .NET User Group a couple of weeks ago (what an honor =), I got an email from an attendee who had a business need to unify source control from various VCSs (like SCM) to TFS (yes, he knows TFS supports git, and the business requirement was to unify in TFS proper).

Having been curious, myself, how to do this or if it was possible (and because I could only find one post on the subject), I want to share my experiments & results.

PreReqs

(if you want to duplicate my experiment)

  1. Chocolatey installed
  2. GIT-TF installed (cinst git-tf)
    (Bridge built by Microsoft in Java, runs cross-platform)
  3. GIT-TFS installed (cinst gittfs)
    (Open-source Bridge, very mature, but only runs in Windows.)
  4. A git repository you want to push to TFS
    I cloned libgit2sharp, using:
    >git clone git@github.com:libgit2/libgit2sharp.git
  5. Create the project in TFS
    Neither git-tf nor git-tfs can *create* a new TFS Project, directly. Make sure to select, “Team Foundation Version Control:”
    image_thumb4

This started out as a blog post that got so long as I learned things, that I decided to break it up into a series, to publish more digestible chunks.

In my next post, I will explore connecting a git repository to a new TFS repository.

 

* “Intro to Git + Git-TFS” talk (just including this pic so I can reference it later, in a “googling my brain” kind of way =)

image

Trackbacks/Pingbacks

  1. Reading Notes 2014-07-28 | Matricis - July 28, 2014

    […] Git to TFS Migration Experiment: Part 1 – Get all the tools you need to move. Part 2, Part 3 – Last post of the series, focuses on the troubleshooting… […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: