Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (13 sloc) 299 Bytes
#! /bin/bash
REPO=$1
ORG=${2:-"NQNStudios"} # TODO make default username an environment variable
cd ~/
REPO_URL=""
if [ "$ORG" = "NQNStudios" ]; then
REPO_URL="git@github.com:"
else
REPO_URL="https://github.com/"
fi
REPO_URL="${REPO_URL}${ORG}/${REPO}.git"
git clone $REPO_URL
cd $REPO
You can’t perform that action at this time.