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

added little guide for backing up a GitHub org

This commit is contained in:
Steffen Vogel 2019-05-05 02:06:59 +02:00
parent 0d7cdf6549
commit 7bbbce380c

View file

@ -52,6 +52,23 @@ optional arguments:
Then, put it in a cron job somewhere and forget about it for eternity.
How To Back Up Entire GitHub Organisation Repos
-------------------------
1. Install Dependencies: `sudo pip install pygithub3]
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:
```
./github-backup.py [Your GitHub Username] [Path To Saving Directory] -o [For Organisation]
```
Example:
```
./github-backup.py mohamed786 /home/mohamed786/githubbak -o LineageOS
```
Why This Software Exists
-------------------------
This software is useful in many cases: