Skip to content

Commit 3af1bca

Browse files
committed
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
2 parents a4b4f9b + aaba0ab commit 3af1bca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/git-remote.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ remote repository.
5858
With `--no-tags` option, `git fetch <name>` does not import tags from
5959
the remote repository.
6060
+
61+
By default, only tags on fetched branches are imported
62+
(see linkgit:git-fetch[1]).
63+
+
6164
With `-t <branch>` option, instead of the default glob
6265
refspec for the remote to track all branches under
6366
the `refs/remotes/<name>/` namespace, a refspec to track only `<branch>`

0 commit comments

Comments
 (0)