Browse Source

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>
maint
Junio C Hamano 19 years ago
parent
commit
a3e3dc4690
  1. 5
      Documentation/fetch-options.txt

5
Documentation/fetch-options.txt

@ -4,6 +4,11 @@ @@ -4,6 +4,11 @@
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

Loading…
Cancel
Save