Install: https://github.com/josegonzalez/python-github-backup
- Backup All Repositories in account
github-backup <username> -t <personal-access-token> -o <output-directory> --repositories --private
- Backup All Repositories in organization
github-backup <organization-name> -t <personal-access-token> -o <output-directory> --repositories --private --organization
# <organization-name> is case-sensitive
Check README.md
of repositories for more information about the commands
Script donwloads all the branches of each repositores, to check them run git branch -a
inside repositories
Top comments (0)