# Fetch token from https://github.com/settings/tokens
EXPORT GITHUB_TOKEN=your_token
# Your org name
EXPORT GITHUB_ORG=your_org
curl --silent https://api.github.com/orgs/$GITHUB_ORG/repos?access_token=$GITHUB_TOKEN | \
grep -o "git@github.com:$GITHUB_ORG/[^ ,\"]\+" | \
xargs -L 1 git clone
Last active
July 28, 2019 17:31
-
-
Save sricola/59faeb0f6d49c147495a3e87942ceb74 to your computer and use it in GitHub Desktop.
Clone all repos in Github Organization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment