clone-all-github-repos

Clones all your GitHub repositories into the current working directory e.g. for sync or backup tasks...

Usage no npm install needed!

<script type="module">
  import cloneAllGithubRepos from 'https://cdn.skypack.dev/clone-all-github-repos';
</script>

README

clone-all-github-repos

NPM NPM

npm version npm license npm download npm download Package Quality Inline docs star this repo fork this repo david dependency david devDependency david optionalDependency david peerDependency npms score Known Vulnerabilities Build Status

install:

As Superuser/Administrator run

npm install clone-all-github-repos -g

or install the latest version from github

npm install https://github.com/HansHammel/clone-all-github-repos.git -g

usage:

clone-all-github-repos

or

cagr

and all your repos get cloned into the current working directory!

Done.

PS: uninstall:

npm uninstall clone-all-github-repos -g

Note: Currently only GitHub USER (vs. ORGANIZATION) accounts are supported.

We have a limit of 100 repositories

On install, you get asked for your GitHub Username and a GitHub API token to access public/private repository information. The settings are stored in your users home directory (~/.cagr/config.json or %HOMEPATH%.cagr\config.json).

On fist use, you get asked for your GitHub Username and a GitHub API token to access public/private repository information. The settings are stored in your users home directory (~/.cagr/config.json or %HOMEPATH%.cagr\config.json).

To create an access-token go to GitHub > Settings > Developer settings > Personal access tokens. Give at least read access to your public repositories.

create an access-token (old screenshot, now located under Settings > Developer settings)