Skip to content

Instantly share code, notes, and snippets.

@mamutalib
Last active July 24, 2023 12:21
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 mamutalib/f59d2bed5d4eec683a77f07a18fafb28 to your computer and use it in GitHub Desktop.
Save mamutalib/f59d2bed5d4eec683a77f07a18fafb28 to your computer and use it in GitHub Desktop.
Download All Repositories from GitHub

** Download Your All repositories by following script **
curl -s https://api.github.com/users/YourUserName/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone

Follow these to complete the task

  • open git bash
  • paste the above script
  • change YourUserName to Your GitHub user name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment