X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Ffetch-options.txt;h=b6759114804e89d6f92e48b8dfe4d93b1f8202d0;hb=4be403815321976bc2ee4c6677799abb06b153aa;hp=da034223f3a0c07bc3451814ae8d087423f1e2f5;hpb=0305b636542c8c137ed7c82fee90db8d3621118c;p=git.git diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index da034223f..b67591148 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -23,11 +23,15 @@ fetches is a descendant of ``. This option overrides that check. +ifdef::git-pull[] +\--no-tags:: +endif::git-pull[] +ifndef::git-pull[] -n, \--no-tags:: - By default, `git-fetch` fetches tags that point at - objects that are downloaded from the remote repository - and stores them locally. This option disables this - automatic tag following. +endif::git-pull[] + By default, tags that point at objects that are downloaded + from the remote repository are fetched and stored locally. + This option disables this automatic tag following. -t, \--tags:: Most of the tags are fetched automatically as branch @@ -50,5 +54,5 @@ \--depth=:: Deepen the history of a 'shallow' repository created by - `git clone` with `--depth=` option (see gitlink:git-clone[1]) + `git clone` with `--depth=` option (see linkgit:git-clone[1]) by the specified number of commits.