Re: Managing multiple branches in git - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Managing multiple branches in git
Date
Msg-id 603c8f070906021319q2bd9e4bo8b5c78ef607dd040@mail.gmail.com
Whole thread Raw
In response to Re: Managing multiple branches in git  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Managing multiple branches in git
List pgsql-hackers
On Tue, Jun 2, 2009 at 4:09 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Blowing away your working directory shouldn't result in loss of your
> entire project history.

Such an outcome could not possibly be less likely with any other
system than it is with git.  Every single developer has a copy of your
entire history, as does the origin server and the public mirror of the
origin server.  There are so many copies of the entire project history
that you'd need an asteroid to obliterate it.

The real potential for confusion with git has to do with the need to
explicitly move commits between repositories, which is a problem that
doesn't exist in CVS or SVN where There Can Only Be One.  That is not
really a problem (in fact, it's really nice) when each developer uses
a single repository, but your situation (1 developer, multiple
repositories) it's potentially quite a nuisance.

...Robert


pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Locks on temp table and PREPARE
Next
From: Mark Mielke
Date:
Subject: Re: Managing multiple branches in git