mirror of
https://github.com/git/git.git
synced 2024-11-25 19:04:18 +08:00
Merge branch 'mg/doc-remote-tags-or-not'
"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
This commit is contained in:
commit
79de649c0f
@ -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>`
|
||||
|
Loading…
Reference in New Issue
Block a user