X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ffetch-options.txt;h=1fe8423b94739e16f2ad8ec4b07ed45a2e6b964a;hb=59617ebb746b67921856c00a63f943d43b0abeea;hp=a25d04a4fa2e6449d4e5ec1beddf305385ae8571;hpb=069b20a198f171512a1d2d2163b40f70c94f5257;p=git.git diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index a25d04a4f..1fe8423b9 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -4,16 +4,29 @@ option old data in `.git/FETCH_HEAD` will be overwritten. -f, \--force:: + When `git-fetch` is used with `:` + refspec, it refuses to update the local branch + `` unless the remote branch `` it + fetches is a descendant of ``. This option + overrides that check. + +\--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. -t, \--tags:: - By default, the git core utilities will not fetch and store - tags under the same name as the remote repository; ask it - to do so using `--tags`. Using this option will bound the - list of objects pulled to the remote tags. Commits in branches - beyond the tags will be ignored. + Most of the tags are fetched automatically as branch + heads are downloaded, but tags that do not point at + objects reachable from the branch heads that are being + tracked will not be fetched by this mechanism. This + flag lets all tags and their associated objects be + downloaded. -u, \--update-head-ok:: By default `git-fetch` refuses to update the head which corresponds to the current branch. This flag disables the check. Note that fetching into the current branch will not update the index and working directory, so use it with care. +