diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-13 22:56:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-13 22:56:05 -0700 |
commit | 3af1bcafffb0d462abf6208574059f72ce4d5b48 (patch) | |
tree | 2c8494f062d47deaac09356fee2a52cf984bbc84 /Documentation | |
parent | Merge branch 'mk/diff-shortstat-dirstat-fix' into maint (diff) | |
parent | git-remote.txt: describe behavior without --tags and --no-tags (diff) | |
download | tgif-3af1bcafffb0d462abf6208574059f72ce4d5b48.tar.xz |
Merge branch 'mg/doc-remote-tags-or-not' into maint
"git remote add" mentioned "--tags" and "--no-tags" and was not
clear that fetch from the remote in the future will use the default
behaviour when neither is given to override it.
* mg/doc-remote-tags-or-not:
git-remote.txt: describe behavior without --tags and --no-tags
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-remote.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index a77607b852..4c6d6de7b7 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -58,6 +58,9 @@ remote repository. With `--no-tags` option, `git fetch <name>` does not import tags from the remote repository. + +By default, only tags on fetched branches are imported +(see linkgit:git-fetch[1]). ++ With `-t <branch>` option, instead of the default glob refspec for the remote to track all branches under the `refs/remotes/<name>/` namespace, a refspec to track only `<branch>` |