kamino

cli to clone all your repos from Git(Hub/Lab)

kamino

a node.js powered cli for cloning all your repos from Git(Hub/Lab)

This will clone all the repos that you have access to based on the results from the respective API. Projects are cloned into [dir]/[namespace]/[project].

npm install -g kamino

Create an access token. Store that token (~/.bash_profile, ~/.extra, etc.).

kamino --host api.github.com --token ddddc5e7e685ede0548b98d98fef99eb --dir ~/mysrc

Find your access token from (e.g. gitlab.mydomain.com/profile/account).

kamino --host gitlab.mydomain.com --token QVy1PB7sTxfy4pqfZM1U --dir ~/mysrc

Optional flags are:

  • -s for secure access (Gitlab only)
  • -v for verbose logging while cloning

You can put your options in a config file ~/.kaminorc

host=192.168.1.1
token=pJkyWhDPUXCtnvx6r9cZ
dir=/Users/me/mysrc