Announcing Git Support for Google Code Project Hosting

Monday, July 25, 2011 | 12:00 PM

Labels: ,

We’re pleased to announce today that in addition to supporting the Subversion and Mercurial version control systems, Google Code Project Hosting now supports Git. Git is a popular distributed version control system (DVCS) like Mercurial, and it is used by many popular projects including the Linux kernel and Android.




Now, when you create a project or visit your existing project’s Administration > Source tab, you have the option of choosing Git as your version control system. You’ll enjoy all the same great Google Project Hosting features, like project updates, advanced issue tracking, and an easy-to-use VCS-backed wiki—only now, you can do it with Git. You can also create an instant server-side clone of any existing Git repository by clicking the “Create a clone” button on the project’s checkout page.

For more information, including an introduction to Git and tips on converting existing Subversion and Mercurial repositories, see the new Git section of our support wiki.

Under the Hood
Since our original announcement of Mercurial support, Git has grown significantly more popular and user-friendly, and on the technical side, it has added an efficient “smart” HTTP protocol that fits with Google’s HTTP-based infrastructure. (Note that this feature is only available in version 1.6.6 and later.)

Like our Mercurial implementation, our Git implementation stores object data in a custom data store built on Bigtable, which provides us with efficient, scalable source code repositories with near-instantaneous replication to multiple datacenters around the world. To fit with our existing Python-based system, our Git server implementation is powered in part by Dulwich.

By Dave Borowitz, Google Git Engineer, with thanks to Augie Fackler, Lucas Bergman, Jacob Lee, and Shawn Pearce

20 comments:

Vacilando said...

Great! Finally!!

Marc Fargas said...

The link to "Create a Project" points to a Google Apps (google.com) domain, not the mere-mortals page :)

Adys said...

Keep up the good work guys.

Will you provide a way to convert svn repos to git?

dborowitz said...

Adys, you may be interested in git-svn, which will convert a Subversion repository to Git. We don't currently have a way of doing this automatically, since there are various decisions that you the project owner will have to make during the conversion.

dborowitz said...

Adys, you may be interested in git-svn, which will convert a Subversion repository to Git. We don't currently have a way of doing this automatically, since there are various decisions that you the project owner will have to make during the conversion.

chbfiv said...

nice work!

Rodrigo said...

Great! Finally!![2]

tekacs said...

Big news! :)

Chrelad said...

This is gonna be huge! :D

Abhi said...

Thanks guys! We were about to switch Sequel Pro to github, but will be sticking around now.

Carlos said...

There is a God! Now allow for private code hosting on Google Apps Premium or low cost for priv projects.

Probably won't happen, but worth asking for :).

Benjamin P. Jung said...

yeeehhhaaaaw! :)

Jimmy said...

You just made my day Google!!!

kronos said...

Thanx, but anyway github is better...

Oscar S. said...

Super cool! No more fragmented projects with some stuff in GoogleCode and the code in Github!

Diego Caliri said...

will it give private repos for free? If not I dont event check it. Github is way better

Tobi said...

can also integrate gerrit :)?

Luiz Carvalho said...

SHOOOWWW

Gustavo Brunetto said...

Where is the Google+ button??????

Tony said...

Awesome! Finally! ;-)