Re: Error with GIT Repository - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Error with GIT Repository
Date
Msg-id 1276197673-sup-5157@alvh.no-ip.org
Whole thread Raw
In response to Re: Error with GIT Repository  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Excerpts from Andrew Dunstan's message of jue jun 10 11:26:59 -0400 2010:

> Why are you cloning over http? Here is the best way to clone, which 
> seems to be working:
> 
>     [andrew@sophia ]$ git clone --mirror
>     git://git.postgresql.org/git/postgresql.git
>     Initialized empty Git repository in /home/andrew/postgresql.git/

In case you're a git-ignorant like me and are wondering why the above
does not produce a usable checkout, the complete recipe is here:

http://archives.postgresql.org/message-id/20090602162347.GF23972@yugib.highrise.ca
(in short, you need a git clone --reference)

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Idea for getting rid of VACUUM FREEZE on cold pages
Next
From: Dimitri Fontaine
Date:
Subject: Re: Command to prune archive at restartpoints