This project is read-only.

Public TFS-checkins automatically to GitHub

Feb 21, 2013 at 7:56 AM
Hi,

Git-TF really look like a promising solution for my "problem". I'm totally new to Git, so excuse me if this is a dumb question.

My team is working on TFS daily, with unit tests and builds running automatically on check-in. Now we want to publish our source code to GitHub (or similar) for all to see in real-time, preferably direct following a check-in to TFS. Would it be possible to get this workflow going automatically from a build script in TFS?

Thanks for your time!
cederlof
Feb 22, 2013 at 6:30 PM
Edited Feb 22, 2013 at 6:30 PM
Hello cederlof,

It will be probably possible to update the build script to call git-tf. However, git-tf is built using Java to support non-Windows clients so you will have to install java on the build machine to achieve this.

Another alternative is to use the TFS service http://tfs.visualstudio.com/ . The team just added the ability to create CI build for git repositories. You can find more information regarding this in the resources below:

Getting Started with Git in VS http://blogs.msdn.com/b/bharry/archive/2013/01/30/git-init-vs.aspx & http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/30/getting-started-with-git-in-visual-studio-and-team-foundation-service.aspx

Creating, Connecting and Publishing Git from VS : http://blogs.msdn.com/b/visualstudioalm/archive/2013/02/06/set-up-connect-and-publish-using-visual-studio-with-git.aspx

Running CI Build for Git Projects : http://blogs.msdn.com/b/visualstudioalm/archive/2013/02/12/run-ci-builds-in-your-git-team-project.aspx

Please let us know if you hit any issues with git-tf, vs git tooling or if you have any feedback or suggestions.

Thanks,
Youhana
Feb 25, 2013 at 3:24 PM
Thanks for good info Youhana!