How do I force fetching of tags if I have the --no-tags option set
Posted
by douglas.meyer
on Stack Overflow
See other posts from Stack Overflow
or by douglas.meyer
Published on 2010-04-15T16:07:07Z
Indexed on
2010/04/16
6:53 UTC
Read the original article
Hit count: 462
Whenever I run git fetch
it fetches all the tags from origin. In a project with lots of tags, this can get quite bothersome. So I ran git config remote.origin.tagopt --no-tags
so fetching will no-longer fetch tags.
However, there are some times when I do want to fetch tags, or a single tag. Does anyone know how to do this? (besides removing that configuration, and running git fetch --no-tags
every time)
Thanks!
© Stack Overflow or respective owner