Created
March 29, 2013 21:34
-
-
Save robinhowlett/5273825 to your computer and use it in GitHub Desktop.
git clone all gists belonging to a user
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
curl https://api.github.com/users/{username}/gists | grep git_pull_url | sed 's|\"git_pull_url\"\: \"\(.*\)\",|\1|p' | uniq | xargs git clone $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment