Browse Source

git-fetch-pack uses URLs like git-fetch

"git fetch-pack" allows [<host>:]<directory> to point out the source
repository.
Use the term <repository>, which is already used in "git fetch" or "git pull"
to describe URLs supported by Git.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Torsten Bögershausen 11 years ago committed by Junio C Hamano
parent
commit
70cce99441
  1. 15
      Documentation/git-fetch-pack.txt

15
Documentation/git-fetch-pack.txt

@ -12,7 +12,7 @@ SYNOPSIS
'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag] 'git fetch-pack' [--all] [--quiet|-q] [--keep|-k] [--thin] [--include-tag]
[--upload-pack=<git-upload-pack>] [--upload-pack=<git-upload-pack>]
[--depth=<n>] [--no-progress] [--depth=<n>] [--no-progress]
[-v] [<host>:]<directory> [<refs>...] [-v] <repository> [<refs>...]


DESCRIPTION DESCRIPTION
----------- -----------
@ -93,19 +93,18 @@ be in a separate packet, and the list must end with a flush packet.
-v:: -v::
Run verbosely. Run verbosely.


<host>:: <repository>::
A remote host that houses the repository. When this The URL to the remote repository.
part is specified, 'git-upload-pack' is invoked via
ssh.

<directory>::
The repository to sync from.


<refs>...:: <refs>...::
The remote heads to update from. This is relative to The remote heads to update from. This is relative to
$GIT_DIR (e.g. "HEAD", "refs/heads/master"). When $GIT_DIR (e.g. "HEAD", "refs/heads/master"). When
unspecified, update from all heads the remote side has. unspecified, update from all heads the remote side has.


SEE ALSO
--------
linkgit:git-fetch[1]

GIT GIT
--- ---
Part of the linkgit:git[1] suite Part of the linkgit:git[1] suite

Loading…
Cancel
Save