@@ -22,7 +22,7 @@ DESCRIPTION
22
22
23
23
Clones a repository into a newly created directory, creates
24
24
remote-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
26
26
initial branch that is forked from the cloned repository's
27
27
currently active branch.
28
28
@@ -80,13 +80,13 @@ which automatically call `git gc --auto`. (See linkgit:git-gc[1].)
80
80
If these objects are removed and were referenced by the cloned repository,
81
81
then the cloned repository will become corrupt.
82
82
+
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
87
87
default.
88
88
+
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
90
90
its source repository, you can simply run `git repack -a` to copy all
91
91
objects from the source repository into a pack in the cloned repository.
92
92
@@ -127,7 +127,7 @@ objects from the source repository into a pack in the cloned repository.
127
127
128
128
--progress::
129
129
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`
131
131
is specified. This flag forces progress status even if the
132
132
standard error stream is not directed to a terminal.
133
133
@@ -147,7 +147,7 @@ objects from the source repository into a pack in the cloned repository.
147
147
Make a 'bare' Git repository. That is, instead of
148
148
creating `<directory>` and placing the administrative
149
149
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 `
151
151
because there is nowhere to check out the working tree.
152
152
Also the branch heads at the remote are copied directly
153
153
to corresponding local branch heads, without mapping
0 commit comments