X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-fetch.txt;h=d982f961fc5111ce0e37dd571530652fca147d01;hb=891e85a0c08e12d3f6174d8eb10b4ef284c4b01b;hp=7ecf2408d6fe060ccf5d179760abe59b708571f0;hpb=76db9dec8132d4377f6c32e4d45eb75fa0cc7a9a;p=git.git diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt index 7ecf2408d..d982f961f 100644 --- a/Documentation/git-fetch.txt +++ b/Documentation/git-fetch.txt @@ -20,6 +20,14 @@ The ref names and their object names of fetched refs are stored in `.git/FETCH_HEAD`. This information is left for a later merge operation done by "git merge". +When stores the fetched result in tracking branches, +the tags that point at these branches are automatically +followed. This is done by first fetching from the remote using +the given s, and if the repository has objects that are +pointed by remote tags that it does not yet have, then fetch +those missing tags. If the other end has tags that point at +branches you are not interested in, you will not get them. + OPTIONS ------- @@ -27,11 +35,11 @@ include::fetch-options.txt[] include::pull-fetch-param.txt[] -include::urls.txt[] +include::urls-remotes.txt[] SEE ALSO -------- -gitlink:git-pull[1] +linkgit:git-pull[1] Author @@ -45,4 +53,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list