clone: --naked option.
authorJunio C Hamano <junkio@cox.net>
Sun, 15 Jan 2006 00:00:32 +0000 (16:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 15 Jan 2006 00:00:32 +0000 (16:00 -0800)
commit8a1a120c55a67c3193e136a06826585711717399
tree8cbd02f601da577c1f59ad479bb9eda73087405d
parent9e9b26751a5ca7a257b3e1cfb319fe3e4efc663c
clone: --naked option.

The new option --naked is to help creating a naked repository
for public consumption.

$ git clone -l -s --naked \
  /pub/scm/.../torvalds/linux-2.6.git subproj-2.6.git

is equivalent to this sequence:

$ git clone -l -s -n /pub/scm/.../torvalds/linux-2.6.git temp
$ mv temp/.git subproj-2.6.git
$ rmdir temp

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-clone.txt
git-clone.sh