Skip to content

Instantly share code, notes, and snippets.

@jason-neal
Last active December 9, 2017 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jason-neal/bebea4b50bee2bb2bbaef68be3805b92 to your computer and use it in GitHub Desktop.
Save jason-neal/bebea4b50bee2bb2bbaef68be3805b92 to your computer and use it in GitHub Desktop.
#https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github
USER=jason-neal; PAGE=1
curl "https://api.github.com/users/$USER/repos?page=$PAGE&per_page=100" |
grep -e 'git_url*' |
cut -d \" -f 4 |
xargs -L1 git clone
@jason-neal
Copy link
Author

Need to generate and add ssh key to github first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment