]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/fetch-options.txt
Merge branch 'sg/obstack-cast-function-type-fix'
[thirdparty/git.git] / Documentation / fetch-options.txt
index 8bc36af4b1b10375c81c6f700ea300cee2295cc1..fa0a3151b3f7e96ee61e65669e057e48ee053aae 100644 (file)
@@ -68,11 +68,16 @@ endif::git-pull[]
 
 -f::
 --force::
-       When 'git fetch' is used with `<rbranch>:<lbranch>`
-       refspec, it refuses to update the local branch
-       `<lbranch>` unless the remote branch `<rbranch>` it
-       fetches is a descendant of `<lbranch>`.  This option
-       overrides that check.
+       When 'git fetch' is used with `<src>:<dst>` refspec it may
+       refuse to update the local branch as discussed
+ifdef::git-pull[]
+       in the `<refspec>` part of the linkgit:git-fetch[1]
+       documentation.
+endif::git-pull[]
+ifndef::git-pull[]
+       in the `<refspec>` part below.
+endif::git-pull[]
+       This option overrides that check.
 
 -k::
 --keep::