Daniel Lee 4784e99fde Add Fetch/Pull tests
Created tests for comparing the tfs url, legacy urls and
the repository path with mixed case when calling git tfs fetch or
git tfs pull. Used libgit2sharp to count the commits before and after.
Added support for running commands from the project directory (git
tfs clone is called from outside the project directory).
2013-01-03 00:49:58 +01:00
2013-01-03 00:49:58 +01:00
2012-12-06 11:03:05 -05:00
2012-08-29 16:51:16 -04:00
2013-01-03 00:49:58 +01:00
2012-08-29 16:51:16 -04:00
2012-09-03 09:11:13 -04:00
2012-09-13 22:25:17 -04:00
2009-10-26 12:22:43 -04:00
2012-12-19 10:25:53 -05:00
2012-12-18 17:35:22 -05:00
2010-02-12 09:25:18 -05:00
2012-01-30 08:21:20 -05:00
2012-11-14 07:56:31 -05:00
2012-09-13 13:56:06 -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
2012-12-06 11:14:15 -05:00
2012-12-06 11:14:15 -05: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

Using Chocolatey:

cinst GitTfs

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

Building

Prerequisites

Building

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

You can also do rake build:debug.

Contributing

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

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

Community

#git-tfs on FreeNode, and the mailing list

Build Status

Thanks to travis-ci and jetbrains (teamcity) for providing CI!

S
Description
Languages
C# 99.2%
PowerShell 0.8%