Created
May 27, 2015 18:48
-
-
Save hudon/0df856ce057dbebedfb2 to your computer and use it in GitHub Desktop.
clone a list of gists
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
# /bin | |
#gists.txt | |
#https://github.com/gist/hudon/0ccd3601425b25b5e559 | |
#https://github.com/gist/hudon/89254003f8d5491a2e1d | |
# ... | |
# | |
while read -r in | |
do | |
url=${in/gist\/andy/gist}.git | |
url=${url/https:\/\/github.cbhq.net/[email protected]:} | |
git clone $url | |
done < gists.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment