Re: [HACKERS] Working with git repo tagged versions

2011-11-14 Thread Peter Eisentraut
On fre, 2011-11-11 at 15:53 -0500, Bruce Momjian wrote: > Basically, git checkout assumes a tag, unless you -b for a branch. No, git checkout assumes a branch, and if it doesn't find a branch, it looks for a commit by the given name, and a tag is one way of naming a commit. The -b option creates

Re: [HACKERS] Working with git repo tagged versions

2011-11-11 Thread Tom Lane
Robert Treat writes: > 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

Re: [HACKERS] Working with git repo tagged versions

2011-11-11 Thread Andrew Dunstan
On 11/11/2011 03:53 PM, Bruce Momjian wrote: Robert Treat wrote: 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 grabb

Re: [HACKERS] Working with git repo tagged versions

2011-11-11 Thread Alvaro Herrera
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 >

Re: [HACKERS] Working with git repo tagged versions

2011-11-11 Thread Bruce Momjian
Robert Treat wrote: > 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

[HACKERS] Working with git repo tagged versions

2011-11-11 Thread Robert Treat
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