git-fetch: document automatic tag following.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Feb 9, 2007 at 15:41 UTC
02f571c73bfdf1d950848ed24229caea438f1f72
1 file changed
+8
Documentation/git-fetch.txt
+8
@@ -20,6 +20,14 @@ The ref names and their object names of fetched refs are stored
20
in `.git/FETCH_HEAD`. This information is left for a later merge
21
operation done by "git merge".
22
23
+When <refspec> stores the fetched result in tracking branches,
24
+the tags that point at these branches are automatically
25
+followed. This is done by first fetching from the remote using
26
+the given <refspec>s, and if the repository has objects that are
27
+pointed by remote tags that it does not yet have, then fetch
28
+those missing tags. If the other end has tags that point at
29
+branches you are not interested in, you will not get them.
30
+
31
32
OPTIONS
33
-------