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