Skip to content

Commit ec00d6e

Browse files
aspotashevgitster
authored andcommitted
Documentation: cloning to empty directory is allowed
Cloning into an existing empty directory is now allowed: commit 55892d2 ("Allow cloning to an existing empty directory") Signed-off-by: Alexander Potashev <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 718135e commit ec00d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-clone.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ then the cloned repository will become corrupt.
149149
part of the source repository is used if no directory is
150150
explicitly given ("repo" for "/path/to/repo.git" and "foo"
151151
for "host.xz:foo/.git"). Cloning into an existing directory
152-
is not allowed.
152+
is only allowed if the directory is empty.
153153

154154
:git-clone: 1
155155
include::urls.txt[]

0 commit comments

Comments
 (0)