gist-clone https://gist.github.com/raine/ef467c47029f1d26c30b dir-name
Last active
August 29, 2015 14:22
-
-
Save raine/ef467c47029f1d26c30b to your computer and use it in GitHub Desktop.
gist-clone
This file contains 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
gist-clone() { | |
gist_id=`echo "$1" | sed -e 's/.*\///g'` | |
git clone git@gist.github.com:/$gist_id.git $2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment