Alexander Potashev committed ec00d6e

Documentation: cloning to empty directory is allowed

Cloning into an existing empty directory is now allowed:
commit 55892d23981917aefdb387ad7d0429f90cbd446a
("Allow cloning to an existing empty directory")

Signed-off-by: Alexander Potashev <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 718135e

Comments (0)

Files changed (1)

File Documentation/git-clone.txt

 	part of the source repository is used if no directory is
 	explicitly given ("repo" for "/path/to/repo.git" and "foo"
 	for "host.xz:foo/.git").  Cloning into an existing directory
-	is not allowed.
+	is only allowed if the directory is empty.
 :git-clone: 1