summaryrefslogtreecommitdiff
path: root/Documentation/fetch-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-02-14 20:42:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-14 20:42:30 (GMT)
commit650ed395be1cfe5d213378402bc3a778b46fb974 (patch)
treef420850f4b0b03bb586b23075042f2143774a072 /Documentation/fetch-options.txt
parent80b806f1a8a5a51fe2cab52ecfc399142e677ef4 (diff)
parentb40a50264acab504faa2b444dab3603682dc1785 (diff)
downloadgit-650ed395be1cfe5d213378402bc3a778b46fb974.zip
git-650ed395be1cfe5d213378402bc3a778b46fb974.tar.gz
git-650ed395be1cfe5d213378402bc3a778b46fb974.tar.bz2
Merge branch 'ds/refmap-doc' into maint
"git fetch --refmap=" option has got a better documentation. * ds/refmap-doc: fetch: document and test --refmap=""
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r--Documentation/fetch-options.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index a2f7862..a115a1a 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -139,7 +139,10 @@ ifndef::git-pull[]
specified refspec (can be given more than once) to map the
refs to remote-tracking branches, instead of the values of
`remote.*.fetch` configuration variables for the remote
- repository. See section on "Configured Remote-tracking
+ repository. Providing an empty `<refspec>` to the
+ `--refmap` option causes Git to ignore the configured
+ refspecs and rely entirely on the refspecs supplied as
+ command-line arguments. See section on "Configured Remote-tracking
Branches" for details.
-t::