Re: git push tags
- From
Chris Rorvick <chris@rorvick.com>
- Date
- Oct 28, 2012, 19:59 UTC
- Message-ID
- <CAEUsAPYREy=CvPxy_Mzh5icVQo3=NV-AMC096Op0WWODLPH47Q@mail.gmail.com>
- In-Reply-To
- <508D7628.10509@kdbg.org>
On Sun, Oct 28, 2012 at 1:15 PM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 6 quoted lines
> Tags are refs, just like branches. "Tags don't move" is just a > convention, and git doesn't even respect it (except possibly in one > place[1]). You can't reseat tags unless you use -f, which is exactly the > same with branches, which you can't reseat unless you use -f. > > [1] By default, git fetch does not fetch tags that it already has.
Also, git checkout <tag> puts you on a detached HEAD. This seems pretty significant with regard to Git respecting a "tags don't move" convention.
Chris Rorvick