Re: Git conversion status

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Aidan Van Dyk <aidan(at)highrise(dot)ca>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Git conversion status
Date: 2010-09-22 20:57:24
Message-ID: 1285188929-sup-1331@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Alvaro Herrera's message of mié sep 22 16:48:28 -0400 2010:
> Excerpts from Aidan Van Dyk's message of mié sep 22 16:20:15 -0400 2010:

> > I think what you want in this case (where you have a local "master"
> > repositroy, and clone your work of them) is to make your master
> > repository just be a bare mirror repo, not a
> > full-fledged-with-working-directory repository. If it's just a mirror
> > of the remote, it doesn't have the distinction between "remote"
> > branches and "local" branches, and your local working clones of it
> > will see exactly what it's fetched from the remote.
>
> Yeah, I think this is what I want. I'll try to see how to make that work.

Apparently the only difference is that the initial clone needs to be
done with --bare:
git clone --bare ssh://git(at)gitmaster(dot)postgresql(dot)org/postgresql.git

and then the second line (which Robert added yesterday) is not
necessary.

Now I only need to wait for another commit to come in to test that
fetch/pull work ...

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2010-09-22 20:58:05 Re: Another Modest Proposal: Platforms
Previous Message Tom Lane 2010-09-22 20:55:29 Re: Git conversion status