#!/usr/bin/env bash

set -euo pipefail

git_ref="${1:-master}"
repo_owner="${2:-zooxco}"

echo "Will clone ${repo_owner}/driving: ${git_ref}\n"

git clone git@git.zooxlabs.com:${repo_owner}/driving.git
cd driving
git checkout "${git_ref}"
