Skip to content

Commit

Permalink
Merge branch 'mg/doc-remote-tags-or-not' into maint
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
Junio C Hamano committed Mar 14, 2015
2 parents a4b4f9b + aaba0ab commit 3af1bca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/git-remote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>`
Expand Down

0 comments on commit 3af1bca

Please sign in to comment.