A Git/TFS bridge, similar to git-svn
C# Other
Pull request Compare This branch is 1284 commits behind git-tfs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
ChocolateyTemplates
GitTfs.Vs11
GitTfs.Vs2008
GitTfs.Vs2010
GitTfs.VsCommon
GitTfs.VsFake
GitTfs
GitTfsBenchmarks
GitTfsTest.Vs2010
GitTfsTest
docs
lib
script
.editorconfig
.gitattributes
.gitignore
.gitmodules
.travis.yml
CI.proj
CONTRIBUTING.md
CommonAssemblyInfo.cs
Gemfile
Gemfile.lock
GitTfs.sln
LICENSE
NOTICE
README.md
Rakefile
Release.proj
Releasing.md
TODO
Version.cs
autorake.rb
mono-git-tfs
sample.html
sample.txt
test-git-tfs.sh

README.md

Introduction

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

Usage

You will find there a very short help. For more help, please look at the wiki

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

Building With MSBuild

  1. Update submodules. git submodule update to get the libgit2sharp dependencies.
  2. Build with msbuild GitTfs.sln /p:Configuration=debug for the default debug build.

####Building With Rake 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!