summaryrefslogtreecommitdiffstats
path: root/git-remote.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-05-21 14:57:53 +0000
committerJunio C Hamano <junio@kernel.org>2010-05-21 14:57:53 +0000
commitcc7636a7aa705986cedababd3173cad477491003 (patch)
treed5f2c5aeadb840264c0881528637d5c124b615a7 /git-remote.txt
parente97d5771c3fcb22302e27b6f962375a059cdcb13 (diff)
downloadgit-htmldocs-cc7636a7aa705986cedababd3173cad477491003.tar.gz
Autogenerated HTML docs for v1.7.1-226-g770c5
Diffstat (limited to 'git-remote.txt')
-rw-r--r--git-remote.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/git-remote.txt b/git-remote.txt
index 3fc599c0c..ebaaadc17 100644
--- a/git-remote.txt
+++ b/git-remote.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git remote' [-v | --verbose]
-'git remote add' [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>
+'git remote add' [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror] <name> <url>
'git remote rename' <old> <new>
'git remote rm' <name>
'git remote set-head' <name> (-a | -d | <branch>)
@@ -51,6 +51,12 @@ update remote-tracking branches <name>/<branch>.
With `-f` option, `git fetch <name>` is run immediately after
the remote information is set up.
+
+With `--tags` option, `git fetch <name>` imports every tag from the
+remote repository.
++
+With `--no-tags` option, `git fetch <name>` does not import tags from
+the remote repository.
++
With `-t <branch>` option, instead of the default glob
refspec for the remote to track all branches under
`$GIT_DIR/remotes/<name>/`, a refspec to track only `<branch>`