Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.52 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.52 KB

github-cloner

Clone All Your Github Repositories At Once

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

Installation

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

Config

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