author | Andreas Ericsson <exon@op5.se> | |
Thu, 10 Nov 2005 11:58:08 +0000 (12:58 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Nov 2005 09:34:26 +0000 (01:34 -0800) | ||
commit | 0879aa28708dcdfa255fff631781e5178755498e | |
tree | 3b8f42543c1d6846edd2b005f99609d202ac0a96 | tree | snapshot |
parent | 0867b0125a7b0ed02c7850486393c56ae8a719e3 | commit | diff |
git-clone: Keep remote names when cloning unless explicitly told not to.
With this patch the following commands all clone into the local directory
"repo". If repo exists, it will still barf.
git-clone git://host.xz/repo.git
git-clone /path/to/repo/.git
git-clone host.xz:repo.git
I ended up doing the same source-to-target sed'ing for all our company
projects, so it was easier to add it directly to git-clone.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
With this patch the following commands all clone into the local directory
"repo". If repo exists, it will still barf.
git-clone git://host.xz/repo.git
git-clone /path/to/repo/.git
git-clone host.xz:repo.git
I ended up doing the same source-to-target sed'ing for all our company
projects, so it was easier to add it directly to git-clone.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-clone.txt | diff | blob | history | |
git-clone.sh | diff | blob | history |