Re: Working with git repo tagged versions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Working with git repo tagged versions
Дата
Msg-id 1321045253-sup-7955@alvh.no-ip.org
обсуждение исходный текст
Ответ на Working with git repo tagged versions  (Robert Treat <rob@xzilla.net>)
Список pgsql-hackers
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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Working with git repo tagged versions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: why do we need two snapshots per query?