1
0
Fork 0
mirror of https://github.com/clockfort/GitHub-Backup.git synced 2025-03-23 00:00:05 +01:00

Merge remote-tracking branch 'gh/alternatex/master' into fixups

This commit is contained in:
Steffen Vogel 2019-05-05 02:02:07 +02:00
commit 0d7cdf6549

View file

@ -18,9 +18,8 @@ Installation is simple with
Usage
----------------------------
````
usage: github-backup.py [-h] [-c] [-m] [-S] [-g ARGS] [-s SUFFIX] [-P PREFIX]
[-p PASSWORD] [-t TOKEN] [-o ORG]
username backupdir
usage: github-backup.py [-h] [-c] [-m] [-f] [-S] [-g ARGS] [-o ORG] [-s SUFFIX] [-P PREFIX]
[-p PASSWORD] [-t TOKEN] username backupdir
makes a backup of all of a github user's repositories
@ -29,18 +28,22 @@ positional arguments:
backupdir The folder where you want your backups to go
optional arguments:
-h, --help show this help message and exit
-h, --help Show this help message and exit
-c, --cron Use this when running from a cron job
-m, --mirror Create a bare mirror
-f, --skip-forks Skip forks
-S, --ssh Use SSH protocol
-g ARGS, --git ARGS Pass extra arguments to git
-o ORGANIZATION, --organization ORGANIZATION
Backup Organizational repositories
-p PASSWORD, --password PASSWORD
Authenticate with Github API
-P PREFIX, --prefix PREFIX
Add prefix to repository directory names
-s SUFFIX, --suffix SUFFIX
Add suffix to repository directory names
-P PREFIX, --prefix PREFIX
Add prefix to repository directory names
-p PASSWORD, --password PASSWORD
Authenticate with Github API
Authenticate with Github API using OAuth token
-t TOKEN, --token TOKEN
OAuth token for authentification
-o ORG, --organization ORG