Skip to content

Instantly share code, notes, and snippets.

@rgarcia
Created March 28, 2014 20:23
Show Gist options
  • Save rgarcia/9842165 to your computer and use it in GitHub Desktop.
Save rgarcia/9842165 to your computer and use it in GitHub Desktop.
clone a gist
#!/usr/bin/env bash
set -e
# Clones a gist locally
# usage: ./clone_gist.sh <gist id> <folder>
git clone [email protected]:$1.git $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment