1. Stefan Saasen
  2. git


Junio C Hamano  committed a3e3dc4

Documentation: describe '-f' option to git-fetch.

The option description header was there without body text, confusingly
getting rendered as if the description for --tags applied to the option.

Noticed by Carl Baldwin.

Signed-off-by: Junio C Hamano <junkio@cox.net>

  • Participants
  • Parent commits b34403a
  • Branches master

Comments (0)

Files changed (1)

File Documentation/fetch-options.txt

View file
 	option old data in `.git/FETCH_HEAD` will be overwritten.
 -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.
 -t, \--tags::
 	By default, the git core utilities will not fetch and store