Skip to content

Instantly share code, notes, and snippets.

@jasonmoo
Created January 16, 2014 22:46
Show Gist options
  • Save jasonmoo/8464983 to your computer and use it in GitHub Desktop.
Save jasonmoo/8464983 to your computer and use it in GitHub Desktop.
get a github repo
function gethub() {
cd ~/Code
if [[ ! -d "$1" ]]; then
git clone git@github.com:$1 "$1"
fi
cd "$1" && sub .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment