From f8c76751d0e7f2668f405dcbd96fe8c697f152fe Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Thu, 13 Apr 2017 22:06:58 +0200 Subject: [PATCH] autoclone --- autoinit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoinit b/autoinit index 8d8abbd..93d0030 100755 --- a/autoinit +++ b/autoinit @@ -68,5 +68,9 @@ else $GOGS_ROOT_URL/api/v1/repos/$GOGS_USER/$GOGS_REPO/keys > /dev/null touch $HOME/.ssh/$GOGS_REPO-sended echo "$sbody" >> $HOME/.ssh/config + + echo "Almost done. Enter clone repository target dir [ENTER]" + read cdir + git clone ssh://gogs$sshhost:65522/$GOGS_USER/$GOGS_REPO $cdir fi