]> git.nbdom.net Git - nb.git/commitdiff
git_create from current dir
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 14 Apr 2016 22:06:33 +0000 (23:06 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 14 Apr 2016 22:06:33 +0000 (23:06 +0100)
etc/profile.d/git.sh

index b20b693b47e402a683ef81eb3ad848da8e45a44c..777996441a54b103b199fe11b8f8e37e9873e399 100644 (file)
@@ -56,8 +56,8 @@ git_create() {
   echo ">git init --bare ${dir}.git"
   ssh $repo "test -e ${dir}.git && echo "${dir}.git already exists on $repo" 1>&2 && exit 1; git init --bare ${dir}.git" || return
 
-  echo ">git clone ${repo}:${dir}.git ."
-  git clone ${repo}:${dir}.git . || return
+  #echo ">git clone ${repo}:${dir}.git ."
+  #git clone ${repo}:${dir}.git . || return
   #cd $dir || return
 
   echo ">git init"