author | Junio C Hamano <junkio@cox.net> | |
Sun, 15 Jan 2006 00:00:32 +0000 (16:00 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 15 Jan 2006 00:00:32 +0000 (16:00 -0800) | ||
commit | 8a1a120c55a67c3193e136a06826585711717399 | |
tree | 8cbd02f601da577c1f59ad479bb9eda73087405d | tree | snapshot |
parent | 9e9b26751a5ca7a257b3e1cfb319fe3e4efc663c | commit | diff |
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>
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 | diff | blob | history | |
git-clone.sh | diff | blob | history |