Excerpts from Robert Treat's message of vie nov 11 17:18:43 -0300 2011:
> Howdy folks,
> 
> Occasionally I need to grab an older release from git based on a tag
> rather than a branch, eg the REL8_3_10 tag vs the REL8_3_STABLE
> branch. I used to know how to do this in CVS, but I find I tend to
> revert to grabbing tarballs now that we're on git. So, I'm wondering
> if anyone knows a way to do this directly from git clone (or similar),
> and ideally as a shallow clone (ie. I just need a copy of the code at
> that tag, rather than needing the repo for development purposes). If
> anyone knew a way to do this down to a specific commit, that would
> also be interesting to know. Thanks in advance.

Maybe the github clone can be helpful -- for example try an URL such as

https://github.com/postgres/postgres/tarball/cf22e851b6ae8737f3e767dffcadf1722fbb36a7

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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to