2012-02-13 14:45:00 -05:00
2012-02-10 10:29:41 -05:00
2012-01-28 11:42:04 -05:00
2012-01-28 11:42:04 -05:00
2012-01-28 11:21:50 -05:00
2012-02-13 14:45:00 -05:00
2011-02-14 11:59:43 -05:00
2012-01-28 11:38:30 -05:00
2011-08-23 20:03:41 +03:00
2009-10-26 12:22:43 -04:00
2012-01-28 10:55:38 -05:00
2010-02-12 09:25:18 -05:00
2012-01-30 08:21:20 -05:00
2011-07-19 09:38:10 -04:00
2010-02-03 13:22:11 -05:00
2010-01-28 13:04:45 -05:00
2010-10-05 15:23:11 -04:00
2011-11-02 14:28:53 +02:00
2011-11-02 14:28:53 +02:00

Introduction

git-tfs is a two-way bridge between TFS and git, similar to git-svn.

Usage

Cloning a repository

git tfs clone http://tfs:8080/tfs/DefaultCollection $/some_project
(wait for git-tfs to pull your history)

-or-

git tfs quick-clone http://tfs:8080/tfs/DefaultCollection $/some_project

(cd some_project and hack away, using only git, until you need to share with TFS...)

Pushing your changes to TFS

Check-in

git tfs checkintool 

-or-

git tfs checkin -m "Did stuff"

Shelveset

git tfs shelve A_SHELVESET_NAME

Other commands

git tfs help

Installing

Download or build.

Add the directory that contains git-tfs.exe to your path.
in powershell : $env:Path += ";c:\tools\git-tfs\"
non-powershell users see this

I've been using this with msysgit 1.7.3.1 for a while.

You need .NET 4 and either the 2008 or 2010 version of Team Explorer installed.

Building

msbuild (included in .NET 4) should be able to build the entire solution.

Use msbuild GitTfs.sln /p:Configuration=Vs2010_Debug to build for the 2010 version only.

You can also do rake build:debug.

If you contribute patches, please set core.autocrlf to true. (git config core.autocrlf true)

Contributing

Contributions are always welcome. For more information about contributing, please see the wiki.

S
Description
Languages
C# 99.2%
PowerShell 0.8%