Skip to content

Instantly share code, notes, and snippets.

@fursiol0800
Forked from milanboers/clone.bash
Created August 31, 2024 07:15
Show Gist options
  • Select an option

  • Save fursiol0800/0ee8d9ce860e5263c07e2c8c2fb9d7bc to your computer and use it in GitHub Desktop.

Select an option

Save fursiol0800/0ee8d9ce860e5263c07e2c8c2fb9d7bc to your computer and use it in GitHub Desktop.
Clone all repositories of a Github user
curl -s https://api.github.com/users/milanboers/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment