Re: Shouldn't git fetch also fetch the tags?
- From
Kevin Ballard <kevin@sb.org>
- Date
- Sep 21, 2010, 01:03 UTC
- Message-ID
- <4A6D7554-6CDD-4A92-9E90-27CF555A44CF@sb.org>
- In-Reply-To
- <AANLkTinb=g=Y=s9AqPtLEOqMxPJVqFxRa_2cB4=iNZ4k@mail.gmail.com>
`git fetch` will fetch any tags that are reachable from any refs that were fetched. It will not fetch tags that are not otherwise reachable. `git fetch --tags` explicitly instructs git fetch to fetch all tags.
-Kevin Ballard
On Sep 20, 2010, at 4:00 PM, Felipe Contreras wrote:
Show 16 quoted lines
> Hi, > > Usually when I do 'git fetch' the tags are fetched too, however, there > is one repo: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y > > Where it doesn't happen, and I manually have to 'git fetch --tags'. > > What's going on? > > -- > Felipe Contreras > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html