tags:

views:

3082

answers:

5

Has anybody experience using Git as an offline solution for Team Foundation Server?

For Subversion you could use git-svn to keep a private repository with a svn backend.

I tried to use SvnBridge and git-svn to work with TFS. At first it looked promising but Visual Studio recognizes the solution as being under TFS version control and interferes during commit.

Are there other ways to combine those two?

+7  A: 

I'm sure it's possible, but it's going to be very rube goldberg-ian in its construction and will most likely lead to more pain than pleasure. I suggest picking a source control system and going with it.

If you need real offline support then git is awesome, but windows support is still a bit flakey.

jonnii
+2  A: 

I can tell you it is possible...

Also here you can find some minor details about someone with the same experience: http://blog.zobie.com/2009/04/using-git-to-avoid-problems-with-tfs/

+5  A: 

We just decided to do this at work. Here is a blog post about how we did it.

http://blog.lozanotek.com/archive/2009/10/20/git-svn_SvnBridge_and_TFS_Source_Control.aspx

Just found this project on Github too.. this might work but I have not tried it yet.

http://github.com/spraints/git-tfs

Rob
+2  A: 

This blog series describes how the IronRuby team uses Git with TFS:

http://blog.jredville.com/category/series/git-tfs/

it depends
this link seems to work http://blog.jredville.com/git-and8211-tfs-integration-implementation
Rob
+14  A: 

I've started working on a tool called git-tfs, similar in some ways to git-svn.

http://github.com/spraints/git-tfs

Matt Burke
I'm really interested in your solution. Is it already usable?
brunoqc
It's very usable for getting data from TFS to git. If you're OK with using shelvesets for pushing back to TFS, then it's usable for the whole round-trip.
Matt Burke