summaryrefslogtreecommitdiffstats
path: root/pull-fetch-param.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-20 15:45:24 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-20 15:45:24 +0900
commitf7e3f4720248d8f301f1a9d734940ac233333bfd (patch)
tree9218fcdf9a6a2d6c5ce3604024f3a30ff09d6eb1 /pull-fetch-param.txt
parentbadd79c219fe0283e7e2a448cc04da89724eefd9 (diff)
downloadgit-htmldocs-f7e3f4720248d8f301f1a9d734940ac233333bfd.tar.gz
Autogenerated HTML docs for v2.15.0-rc2
Diffstat (limited to 'pull-fetch-param.txt')
-rw-r--r--pull-fetch-param.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/pull-fetch-param.txt b/pull-fetch-param.txt
index 1ebbf1d73..c579793af 100644
--- a/pull-fetch-param.txt
+++ b/pull-fetch-param.txt
@@ -23,9 +23,11 @@ ifdef::git-pull[]
endif::git-pull[]
+
The format of a <refspec> parameter is an optional plus
-`+`, followed by the source ref <src>, followed
+`+`, followed by the source <src>, followed
by a colon `:`, followed by the destination ref <dst>.
-The colon can be omitted when <dst> is empty.
+The colon can be omitted when <dst> is empty. <src> is
+typically a ref, but it can also be a fully spelled hex object
+name.
+
`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`;
it requests fetching everything up to the given tag.