Working with git repo tagged versions

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Working with git repo tagged versions
Дата
Msg-id CAJSLCQ1Q2ocZhdGK_PU2T_vAG-=aFJrirLTjgnW3mLnMD5LQbA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Working with git repo tagged versions  (Bruce Momjian <bruce@momjian.us>)
Re: Working with git repo tagged versions  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Working with git repo tagged versions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.


Robert Treat
conjecture: xzilla.net
consulting: omniti.com


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Manual anti-wraparound vacuums
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Working with git repo tagged versions