Merge branch 'jk/maint-status-porcelain-z-b' into maint
[gitweb.git] / Documentation / git-clone.txt
index 0931a3e39237da0abbf03c43a2f35092ea48efd5..6e22522c4f7e97dbab42b3cbb5b538cdea3b4d74 100644 (file)
@@ -147,8 +147,9 @@ objects from the source repository into a pack in the cloned repository.
 -b <name>::
        Instead of pointing the newly created HEAD to the branch pointed
        to by the cloned repository's HEAD, point to `<name>` branch
-       instead. In a non-bare repository, this is the branch that will
-       be checked out.
+       instead. `--branch` can also take tags and treat them like
+       detached HEAD. In a non-bare repository, this is the branch
+       that will be checked out.
 
 --upload-pack <upload-pack>::
 -u <upload-pack>::