summaryrefslogtreecommitdiffstats
path: root/fetch-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-24 15:56:56 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-24 15:56:56 -0700
commit48d7a8a0dd06ff822cc6ee60872386ac9a1d124d (patch)
treecbd8f53bec984fce2cf0bc8c34b5957b894f3dcf /fetch-options.txt
parent779537c075f92f8653e201a9fe6f16ae4bf2f0be (diff)
downloadgit-htmldocs-48d7a8a0dd06ff822cc6ee60872386ac9a1d124d.tar.gz
Autogenerated HTML docs for v2.28.0-337-ge9b77
Diffstat (limited to 'fetch-options.txt')
-rw-r--r--fetch-options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/fetch-options.txt b/fetch-options.txt
index ff7062569..e8104c082 100644
--- a/fetch-options.txt
+++ b/fetch-options.txt
@@ -64,6 +64,15 @@ documented in linkgit:git-config[1].
--dry-run::
Show what would be done, without making any changes.
+ifndef::git-pull[]
+--[no-]write-fetch-head::
+ Write the list of remote refs fetched in the `FETCH_HEAD`
+ file directly under `$GIT_DIR`. This is the default.
+ Passing `--no-write-fetch-head` from the command line tells
+ Git not to write the file. Under `--dry-run` option, the
+ file is never written.
+endif::git-pull[]
+
-f::
--force::
When 'git fetch' is used with `<src>:<dst>` refspec it may