From a3d3acf0edf930af89d4533fb1a6dd72901acc1f Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Tue, 13 Jun 2023 21:13:06 -0600 Subject: [PATCH] fixed issue preventing cloning repo's from other owners. --- gclone | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gclone b/gclone index fb6cccc..6c0d57a 100755 --- a/gclone +++ b/gclone @@ -51,12 +51,8 @@ elif [[ $1 == "--set-default" ]]; then # Clone a git repo from a specified owner. elif [[ $1 =~ "/" ]]; then git clone https://github.com/$1 - REPO=`cut $1 -d "/" -f 2` # Clone a git repo from the owner. By default, this will be the owner quaxlyqueen. else git clone https://github.com/$DEFAULT_USER/$1 - REPO=$1 fi - -cd $REPO