github-cloner
is a simple, easy to use script, which helps you to copy all repositories at once.
- Works with both users and organizations
- Has 3 types of git clone:
https
/ssh
/ghcli
- Easy to set up
github-clone
requires bash
and jq to run.
Install the dependencies and clone the repository. Edit cloneall.sh
& run the script.
cd github-cloner
nano cloneall.sh
chmod +x ./cloneall.sh
./cloneall.sh
There are only a few options to configure, which makes this script easy to use & flexible.
Option | Type | README |
---|---|---|
githubUser | string | Github username |
githubToken | string | Github oath token from settings |
githubOrganization | string | Github organization name |
cloneOrgRepos | boolean | Whether to clone organization repositories or no |
cloneUserRepos | boolean | Whether to clone user repositories or no |
cloneType | enum | One of https / ssh / ghcli |