summaryrefslogtreecommitdiffstats
path: root/fetch-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-04 11:21:49 -0700
committerJunio C Hamano <gitster@pobox.com>2022-04-04 11:21:49 -0700
commit4bea028f2f048f83d0e3ad019e96763e23659055 (patch)
tree848fb8d4d693adea476aa902d574236151247ef4 /fetch-options.txt
parent93dca4316b29436160743d1b2f407205a1e002d7 (diff)
downloadgit-htmldocs-4bea028f2f048f83d0e3ad019e96763e23659055.tar.gz
Autogenerated HTML docs for v2.36.0-rc0
Diffstat (limited to 'fetch-options.txt')
-rw-r--r--fetch-options.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/fetch-options.txt b/fetch-options.txt
index 6cdd9d43c..622bd8476 100644
--- a/fetch-options.txt
+++ b/fetch-options.txt
@@ -163,6 +163,16 @@ endif::git-pull[]
behavior for a remote may be specified with the remote.<name>.tagOpt
setting. See linkgit:git-config[1].
+ifndef::git-pull[]
+--refetch::
+ Instead of negotiating with the server to avoid transferring commits and
+ associated objects that are already present locally, this option fetches
+ all objects as a fresh clone would. Use this to reapply a partial clone
+ filter from configuration or using `--filter=` when the filter
+ definition has changed. Automatic post-fetch maintenance will perform
+ object database pack consolidation to remove any duplicate objects.
+endif::git-pull[]
+
--refmap=<refspec>::
When fetching refs listed on the command line, use the
specified refspec (can be given more than once) to map the