Documentation/fetch-options.txt: order options alphabetically
git-fetch.{1,html} will be helped with this patch Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
78d553b7d7
commit
6b276e19fa
@ -1,25 +1,13 @@
|
|||||||
ifndef::git-pull[]
|
|
||||||
-q::
|
|
||||||
--quiet::
|
|
||||||
Pass --quiet to git-fetch-pack and silence any other internally
|
|
||||||
used git commands.
|
|
||||||
|
|
||||||
-v::
|
|
||||||
--verbose::
|
|
||||||
Be verbose.
|
|
||||||
endif::git-pull[]
|
|
||||||
|
|
||||||
-a::
|
-a::
|
||||||
--append::
|
--append::
|
||||||
Append ref names and object names of fetched refs to the
|
Append ref names and object names of fetched refs to the
|
||||||
existing contents of `.git/FETCH_HEAD`. Without this
|
existing contents of `.git/FETCH_HEAD`. Without this
|
||||||
option old data in `.git/FETCH_HEAD` will be overwritten.
|
option old data in `.git/FETCH_HEAD` will be overwritten.
|
||||||
|
|
||||||
--upload-pack <upload-pack>::
|
--depth=<depth>::
|
||||||
When given, and the repository to fetch from is handled
|
Deepen the history of a 'shallow' repository created by
|
||||||
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
|
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
|
||||||
the command to specify non-default path for the command
|
by the specified number of commits.
|
||||||
run on the other end.
|
|
||||||
|
|
||||||
-f::
|
-f::
|
||||||
--force::
|
--force::
|
||||||
@ -29,6 +17,10 @@ endif::git-pull[]
|
|||||||
fetches is a descendant of `<lbranch>`. This option
|
fetches is a descendant of `<lbranch>`. This option
|
||||||
overrides that check.
|
overrides that check.
|
||||||
|
|
||||||
|
-k::
|
||||||
|
--keep::
|
||||||
|
Keep downloaded pack.
|
||||||
|
|
||||||
ifdef::git-pull[]
|
ifdef::git-pull[]
|
||||||
--no-tags::
|
--no-tags::
|
||||||
endif::git-pull[]
|
endif::git-pull[]
|
||||||
@ -49,10 +41,6 @@ endif::git-pull[]
|
|||||||
flag lets all tags and their associated objects be
|
flag lets all tags and their associated objects be
|
||||||
downloaded.
|
downloaded.
|
||||||
|
|
||||||
-k::
|
|
||||||
--keep::
|
|
||||||
Keep downloaded pack.
|
|
||||||
|
|
||||||
-u::
|
-u::
|
||||||
--update-head-ok::
|
--update-head-ok::
|
||||||
By default 'git-fetch' refuses to update the head which
|
By default 'git-fetch' refuses to update the head which
|
||||||
@ -62,7 +50,19 @@ endif::git-pull[]
|
|||||||
implementing your own Porcelain you are not supposed to
|
implementing your own Porcelain you are not supposed to
|
||||||
use it.
|
use it.
|
||||||
|
|
||||||
--depth=<depth>::
|
--upload-pack <upload-pack>::
|
||||||
Deepen the history of a 'shallow' repository created by
|
When given, and the repository to fetch from is handled
|
||||||
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
|
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
|
||||||
by the specified number of commits.
|
the command to specify non-default path for the command
|
||||||
|
run on the other end.
|
||||||
|
|
||||||
|
ifndef::git-pull[]
|
||||||
|
-q::
|
||||||
|
--quiet::
|
||||||
|
Pass --quiet to git-fetch-pack and silence any other internally
|
||||||
|
used git commands.
|
||||||
|
|
||||||
|
-v::
|
||||||
|
--verbose::
|
||||||
|
Be verbose.
|
||||||
|
endif::git-pull[]
|
||||||
|
Loading…
Reference in New Issue
Block a user