autoclone
This commit is contained in:
parent
d3ba30648e
commit
f8c76751d0
4
autoinit
4
autoinit
@ -68,5 +68,9 @@ else
|
|||||||
$GOGS_ROOT_URL/api/v1/repos/$GOGS_USER/$GOGS_REPO/keys > /dev/null
|
$GOGS_ROOT_URL/api/v1/repos/$GOGS_USER/$GOGS_REPO/keys > /dev/null
|
||||||
touch $HOME/.ssh/$GOGS_REPO-sended
|
touch $HOME/.ssh/$GOGS_REPO-sended
|
||||||
echo "$sbody" >> $HOME/.ssh/config
|
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
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user