Github is **** and deprecated HTTP basic authentication for it's API, meaning this project no longer works for private repos. Just use the github desktop/cli, which they want to force on you anyways.... :(
cloneall.sh [(-s|-h)] -u <username> [-p] [-d <directory>]
Options:
-s Use ssh
-h Use http (default)
-u <username> specify the github username to clone all repos from
-p Authenticate as specified user. This is for cloning private repos
and will prompt the user to input their github password.
-d <directory> specify the directory to clone all the repos to.
a seperate folder for each repo inside this folder
will still be created. Defaults to current directory.
This script does not work with 2FA yet, and it is using deprecated HTTP authentication. Therefore it can no longer clone private repos.
Licensed under the MIT license, see LICENSE file.
If you found a way to improve this script, just make a pr.