[PATCH 2/2] docs: explain behaviour of remote add without tag option
- From
Kevin Daudt <me@ikke.info>
- Date
- Mar 3, 2015, 23:12 UTC
- Message-ID
- <1425424320-4091-2-git-send-email-me@ikke.info>
- In-Reply-To
- <1425424320-4091-1-git-send-email-me@ikke.info>
Only behaviour with these options are currently explained. Add explanation what the default behaviour is.
Signed-off-by: Kevin Daudt <me@ikke.info> --- Documentation/git-remote.txt | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index a77607b..5bde0e1 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. + +With neither `--tags` or `--no-tags` set, imports only tags that are +reachable from downloaded history. ++ 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>`
-- 2.3.0