git-tfs is a two-way bridge between TFS and git, similar to git-svn.
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...)
git tfs checkintool
-or-
git tfs checkin -m "Did stuff"
git tfs shelve A_SHELVESET_NAME
git tfs help
Using Chocolatey:
cinst GitTfs
You need .NET 4 and either the 2008 or 2010 version of Team Explorer installed.
- Visual Studio 2010 SDK
- Visual Studio 2008 SDK
- MSBuild (included in .NET 4)
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
)
Contributions are always welcome. For more information about contributing, please see the wiki.
#git-tfs
on FreeNode, and the mailing list
Thanks to travis-ci and jetbrains (teamcity) for providing CI!