Browse Source

Remove references to git-fetch-pack from "git clone" documentation.

"git clone" no longer calls "git-fetch-pack", so the documentation is a bit
stale. Instead, state that the -u option is to be used when accessing a
repository over ssh.

Signed-off-by: Steve Haslam <shaslam@lastminute.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Steve Haslam 17 years ago committed by Junio C Hamano
parent
commit
d3296e37b6
  1. 9
      Documentation/git-clone.txt

9
Documentation/git-clone.txt

@ -87,8 +87,8 @@ then the cloned repository will become corrupt.


--quiet:: --quiet::
-q:: -q::
Operate quietly. This flag is passed to "rsync" and Operate quietly. This flag is also passed to the `rsync'
'git-fetch-pack' commands when given. command when given.


--no-checkout:: --no-checkout::
-n:: -n::
@ -113,9 +113,8 @@ then the cloned repository will become corrupt.


--upload-pack <upload-pack>:: --upload-pack <upload-pack>::
-u <upload-pack>:: -u <upload-pack>::
When given, and the repository to clone from is handled When given, and the repository to clone from is accessed
by 'git-fetch-pack', `--exec=<upload-pack>` is passed to via ssh, this specifies a non-default path for the command
the command to specify non-default path for the command
run on the other end. run on the other end.


--template=<template_directory>:: --template=<template_directory>::

Loading…
Cancel
Save