Peter Shenkin <shenkin@xxxxxxxxx> writes: [...] > Now I have a related question. I always want to retrieve all > tags from tracking branches when I do a "git pull". Right now, > if I want to do this, it seem (unless I am missing something) > that I have to do "git fetch --tags; git fetch; git merge". Is > there a way I can put something into my .git/config file so > that I get this effect simply by doing a "git pull"? That's > what I was trying to do when I added "tagopt = --tags". Actually fetching of branches on remote into remote-tracking branches would also fetch all tags that point to commits on fetched branches (so called "autofollow" feature). If you want to fetch _all_ tags, you need to configure fetched branches (e.g. via glob refspec). I think that then "tagopt = --tags" works as expected then, as it is in addition to refspec not as the only refspec; "fetch = +refs/tags/*:refs/tags/*" should work as well. HTH -- Jakub Narębski -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html