mirror of
https://github.com/clockfort/GitHub-Backup.git
synced 2025-03-30 00:00:16 +01:00
fix documentation for organization backups
This commit is contained in:
parent
e8cf9a6f2a
commit
9375b3637b
1 changed files with 4 additions and 4 deletions
|
@ -75,20 +75,20 @@ optional arguments:
|
||||||
|
|
||||||
Then, put it in a cron job somewhere and forget about it for eternity.
|
Then, put it in a cron job somewhere and forget about it for eternity.
|
||||||
|
|
||||||
## How To Back Up Entire GitHub Organisation Repos
|
## How-to back up entire GitHub organisation repos
|
||||||
|
|
||||||
1. Install Dependencies: `sudo pip install pygithub3`
|
1. Install Dependencies: `sudo pip install pygithub3`
|
||||||
2. Clone this repo using `$ git clone https://github.com/clockfort/GitHub-Backup.git`
|
2. Clone this repo using `$ git clone https://github.com/clockfort/GitHub-Backup.git`
|
||||||
3. Just open the cloned repo folder and run the terminal:
|
3. Just open the cloned repo folder and run the terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./github-backup.py [Your GitHub Username] [Path To Saving Directory] -o [For Organisation]
|
./github-backup.py [Organization Name] [Path To Saving Directory] -o [Organization Name]
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
github-backup mohamed786 /home/mohamed786/githubbak -o LineageOS
|
github-backup LineageOS /home/mohamed786/githubbak -o LineageOS
|
||||||
```
|
```
|
||||||
|
|
||||||
## Use a a personal access token (PAT) instead of your password
|
## Use a a personal access token (PAT) instead of your password
|
||||||
|
@ -99,7 +99,7 @@ Follow the steps described [here in the GitHub documentation](https://docs.githu
|
||||||
Using a PAT can also work around issues when two factor authentication (TFA) is enabled on your account.
|
Using a PAT can also work around issues when two factor authentication (TFA) is enabled on your account.
|
||||||
|
|
||||||
|
|
||||||
## Why This Software Exists
|
## Why this software exists
|
||||||
|
|
||||||
This software is useful in many cases:
|
This software is useful in many cases:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue