When I first joined the fabulous team at eimagine (ETG) I knew what I was getting back into. As a multi-certified Microsoft (MS) partner, the company has a strong foundation in MS technologies including Sharepoint, Dynamics CRM, Visual Studio, and, of course, Team Foundation Server (TFS). As I was bringing a lot of iOS and Android mobile development experience to the company and had a comfort level with using Git as my primary source code repository I knew there might be some issues with interfacing to TFS. Wouldn’t it be wonderful if I could continue to use the Git repository I am comfortable with and mirror it into TFS without a lot of duplicity in effort?

The Solution

I had the crazy thoughts that someone might have developed a bridge for Git to add a TFS endpoint to the list of remote repositories, but I had not expected that the developer of just that sort of thing would be none other than Microsoft themselves. In an announcement in Q3 of 2012, the Git-TF tool was released on CodePlex and is currently in its second major version release.

As the name implies, Git-TF is a java tool built for a multitide of operating systems (HP-UX, IBM AIX, Linux, Mac OS X, Solaris, Unix, Windows 7, Windows 8, Windows Vista, Windows XP Service Pack 2) that allows you to continue to commit code to your local Git repository, push to your usual remote repositories, but also adds the “git tf” or “git-tf” call to check-in, clone, and fetch your code to/from a TFS source. Even better, it only takes a quick configuration call to set the repository up for all future TFS interactions (for that folder/project).

More Information

Ready to give it a shot? Head over to read the announcement and, for fellow developers in the iOS community, read this great post from Edward Thomson on the practical implementation of this handy set of tools. If you are feeling more cavalier, you can jump directly to the CodePlex hosting page (with link to download) by going here.

Like this post? Share it!