Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id DDAEBB5DBC7 for ; Tue, 4 Oct 2011 10:51:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 47141-09 for ; Tue, 4 Oct 2011 13:50:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-gy0-f174.google.com (mail-gy0-f174.google.com [209.85.160.174]) by mail.postgresql.org (Postfix) with ESMTP id 619C0B5DBE4 for ; Tue, 4 Oct 2011 10:50:54 -0300 (ADT) Received: by gyg10 with SMTP id 10so480996gyg.19 for ; Tue, 04 Oct 2011 06:50:54 -0700 (PDT) Received: by 10.236.183.129 with SMTP id q1mr6781625yhm.35.1317736254457; Tue, 04 Oct 2011 06:50:54 -0700 (PDT) Received: from ayaki.localdomain ([119.11.4.121]) by mx.google.com with ESMTPS id l75sm18213269yhj.24.2011.10.04.06.50.48 (version=SSLv3 cipher=OTHER); Tue, 04 Oct 2011 06:50:53 -0700 (PDT) Message-ID: <4E8B0F34.6000503@ringerc.id.au> Date: Tue, 04 Oct 2011 21:50:44 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Dave Cramer CC: Kris Jurka , Mike Fowler , Guillaume Cottenceau , pgsql-jdbc@postgresql.org Subject: Re: Moving to git References: <5cd1ffed-061d-4e7a-ad26-93f387535710@u13g2000vbx.googlegroups.com> <5d749877f4a64dce3a762d638455718a.squirrel@www.mlfowler.com> <4E8A753C.4070908@ringerc.id.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/25 X-Sequence-Number: 22278 On 10/04/2011 04:35 PM, Dave Cramer wrote: > So how does moving to git revolutionize the process ? I do understand > that CVS is ancient but what changes if we move to git ? The main wins for committers are: - Local branches for work in progress code. Commit early, commit often. When you are ready to publish your changes to the world, you have options to clean up the history of your work so others can understand it better (and to remove those "oops" commits) with tools like squash merges and my favourite, "git rebase --interactive". I've found these tools incredibly helpful even in my private development. - A local copy of history and the current state of the public repo. It's easy to diff and revert without network access or delay. - Speed. Everything is fast. This really does make a difference, speaking as someone who's spent lots of time working with both cvs and svn as well. - Easier acceptance of changes from others via git format-patch, push/pull and/or GitHub merge requests. - Merges are so much less painful than with CVS. - Some really convenient little goodies like "git stash". For other contributors: - It's way, way easier to follow development - Personal feature branches are possible, practical, and easy. This makes developing bigger changes way easier and makes it practical to follow HEAD while doing so. - Speed. - It's trivial to produce a logical, sane and easily applied patch set using "git rewrite --interactive" and "git format-patch". -- Craig Ringer