git-clone-all
📦 Clone all public repositories of a GitHub user or organization
Install#
Or run it without installing:
Requires Node.js 22.13 or later and git.
Usage#
- Repositories that already exist are skipped, or pulled with
--pull(fast-forward only). - Clones run in parallel (4 by default). A failed clone doesn't stop the others; the exit code is
1if any failed.
Authentication#
Unauthenticated GitHub API calls are limited to 60 per hour. The token is taken from GITHUB_TOKEN, then GH_TOKEN, then gh auth token if the GitHub CLI is logged in. Only public repositories are listed.
Development#
Release#
bumpp bumps the version, commits, tags and pushes. The tag triggers the release workflow, which stages the package on npm with trusted publishing (provenance included) and creates a GitHub release with changelogithub. The version goes live after a maintainer approves it with 2FA on the package's Staged Packages tab on npmjs.com, or with npm stage approve <stage-id>.
License#
MIT © tlyboy