pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Mike Fowler <mike@mlfowler.com>
Cc: Guillaume Cottenceau <gc@mnc.ch>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Moving to git
Date: Tue, 04 Oct 2011 21:50:44 +0800
Message-ID: <4E8B0F34.6000503@ringerc.id.au> (raw)
In-Reply-To: <CADK3HHKD+KqvA=3VnUnPRruTHvnmbQPGFhBBfMA9xDW-r92uNw@mail.gmail.com>
References: <5cd1ffed-061d-4e7a-ad26-93f387535710@u13g2000vbx.googlegroups.com>
	<CADK3HHK0M9_7EBhdRYqtbHtniSySjuF85f8bQjDJGQfO+XVCKQ@mail.gmail.com>
	<m3pqielc22.fsf@mnc.ch>
	<5d749877f4a64dce3a762d638455718a.squirrel@www.mlfowler.com>
	<CADK3HH+S5cEw3FDQwou0+CPpvm2HAFSSnWB+GQFbA0CeoWDWkw@mail.gmail.com>
	<4E8A753C.4070908@ringerc.id.au>
	<alpine.BSO.2.00.1110040247070.5442@leary.csoft.net>
	<CADK3HHKD+KqvA=3VnUnPRruTHvnmbQPGFhBBfMA9xDW-r92uNw@mail.gmail.com>

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



view thread (31+ messages)  latest in thread

Message-ID: <4E8B0F34.6000503@ringerc.id.au>
Permalink:  ../4E8B0F34.6000503@ringerc.id.au/
Also on:    postgresql.org/message-id/4E8B0F34.6000503@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ringerc@ringerc.id.au, pg@fastcrypt.com, books@ejurka.com, mike@mlfowler.com, gc@mnc.ch
  Subject: Re: Moving to git
  In-Reply-To: <4E8B0F34.6000503@ringerc.id.au>
  References: <5cd1ffed-061d-4e7a-ad26-93f387535710@u13g2000vbx.googlegroups.com> <CADK3HHK0M9_7EBhdRYqtbHtniSySjuF85f8bQjDJGQfO+XVCKQ@mail.gmail.com> <m3pqielc22.fsf@mnc.ch> <5d749877f4a64dce3a762d638455718a.squirrel@www.mlfowler.com> <CADK3HH+S5cEw3FDQwou0+CPpvm2HAFSSnWB+GQFbA0CeoWDWkw@mail.gmail.com> <4E8A753C.4070908@ringerc.id.au> <alpine.BSO.2.00.1110040247070.5442@leary.csoft.net> <CADK3HHKD+KqvA=3VnUnPRruTHvnmbQPGFhBBfMA9xDW-r92uNw@mail.gmail.com> <4E8B0F34.6000503@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox