Created
March 28, 2014 20:23
-
-
Save rgarcia/9842165 to your computer and use it in GitHub Desktop.
clone a gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| # Clones a gist locally | |
| # usage: ./clone_gist.sh <gist id> <folder> | |
| git clone git@github.com:$1.git $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment