I have just written this function in a Shell Script:
clone_and_dev() {
REPO=$1
echo
echo "Beginning process for the $REPO repository..."
git clone git@github.com:keyfer/$REPO.git
cd "$REPO"
}
The problem lies with that the cd
command does not seem to work. I'm wondering if there is a way to make this work.
Thanks!