Python script to clone all Git repositories from your GitHub account

Clone the repository Asher256/github-cloneall, install pip dependencies and copy the configuration file to your home directory:

$ git clone https://github.com/Asher256/github-cloneall
$ cd github-cloneall
$ pip install --user -r requirements.txt
$ cp github-cloneall.yml ~/github-cloneall.yml

Add your GitHub credentials to ~/github-cloneall.yml:

$ vim ~/github-cloneall.yml

Run github-cloneall to clone all Git repositories from your GitHub account to a local directory:

$ ./github-cloneall.py

(the script will also add “git remote add upstream <URI>” to the Git repositories that were forked)