Skip to content

A script that clones Github repositories of users and organizations.

License

Notifications You must be signed in to change notification settings

games647/GithubCloner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GithubCloner

A script that clones Github repositories of users and organizations.

Usage

Description Command
Help ./githubcloner.py --help
Clone all repositories of a single user. ./githubcloner.py --user user -o /tmp/output
Clone all repositories of multiple users. ./githubcloner.py --user user1,user2,user3 -o /tmp/output
Clone all repositories of a single organization. ./githubcloner.py --org organization -o /tmp/output
Clone all repositories of multiple organizations. ./githubcloner.py --org organization1,organization2 -o /tmp/output
Modify the amount of used threads ./githubcloner.py --user user --threads 10 -o /tmp/output
Clone all repositories of an organization, along with all repositories of the organization's members. ./githubcloner.py --org organization --include-org-members -o /tmp/output
Use Github authentication in the task. ./githubcloner.py --org organization -o /tmp/output --authentication user:token
Clone authenticated repositories that the authenticated user has access to. ./githubcloner.py -o /tmp/output --authentication user:token --include-authenticated-repos
Include gists. ./githubcloner.py --user user -o /tmp/output --include-gists

Compatibility

The project is compatible with both Python 2 and Python 3.

Requirements

  • Python2 or Python3
  • requests
  • gitpython

License

The project is licensed under MIT License.

Legal Disclaimer

This project is made for educational and ethical testing purposes only. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

Author

Mazin Ahmed

About

A script that clones Github repositories of users and organizations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%