@@ -23,7 +23,7 @@ DESCRIPTION
2323
2424Clones a repository into a newly created directory, creates
2525remote-tracking branches for each branch in the cloned repository
26- (visible using `git branch -r `), and creates and checks out an
26+ (visible using `git branch --remotes `), and creates and checks out an
2727initial branch that is forked from the cloned repository's
2828currently active branch.
2929
@@ -81,13 +81,13 @@ which automatically call `git gc --auto`. (See linkgit:git-gc[1].)
8181If these objects are removed and were referenced by the cloned repository,
8282then the cloned repository will become corrupt.
8383+
84- Note that running `git repack` without the `-l ` option in a repository
85- cloned with `-s ` will copy objects from the source repository into a pack
86- in the cloned repository, removing the disk space savings of `clone -s `.
87- It is safe, however, to run `git gc`, which uses the `-l ` option by
84+ Note that running `git repack` without the `--local ` option in a repository
85+ cloned with `--shared ` will copy objects from the source repository into a pack
86+ in the cloned repository, removing the disk space savings of `clone --shared `.
87+ It is safe, however, to run `git gc`, which uses the `--local ` option by
8888default.
8989+
90- If you want to break the dependency of a repository cloned with `-s ` on
90+ If you want to break the dependency of a repository cloned with `--shared ` on
9191its source repository, you can simply run `git repack -a` to copy all
9292objects from the source repository into a pack in the cloned repository.
9393
@@ -128,7 +128,7 @@ objects from the source repository into a pack in the cloned repository.
128128
129129--progress::
130130 Progress status is reported on the standard error stream
131- by default when it is attached to a terminal, unless -q
131+ by default when it is attached to a terminal, unless `--quiet`
132132 is specified. This flag forces progress status even if the
133133 standard error stream is not directed to a terminal.
134134
@@ -148,7 +148,7 @@ objects from the source repository into a pack in the cloned repository.
148148 Make a 'bare' Git repository. That is, instead of
149149 creating `<directory>` and placing the administrative
150150 files in `<directory>/.git`, make the `<directory>`
151- itself the `$GIT_DIR`. This obviously implies the `-n `
151+ itself the `$GIT_DIR`. This obviously implies the `--no-checkout `
152152 because there is nowhere to check out the working tree.
153153 Also the branch heads at the remote are copied directly
154154 to corresponding local branch heads, without mapping
0 commit comments