Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donno2048/gitback
The easiest way to makes a backup of all your repositories and gists from GitHub using Python
https://github.com/donno2048/gitback
backup backup-script backup-tool backups gist gists github http pip pypi pypi-package python python-3 python3 repository ssh zip zipfile
Last synced: about 2 months ago
JSON representation
The easiest way to makes a backup of all your repositories and gists from GitHub using Python
- Host: GitHub
- URL: https://github.com/donno2048/gitback
- Owner: donno2048
- License: mit
- Created: 2020-10-08T11:18:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T22:17:20.000Z (11 months ago)
- Last Synced: 2024-10-12T07:06:40.356Z (2 months ago)
- Topics: backup, backup-script, backup-tool, backups, gist, gists, github, http, pip, pypi, pypi-package, python, python-3, python3, repository, ssh, zip, zipfile
- Language: Python
- Homepage: https://pypi.org/project/gitback/
- Size: 50.8 KB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - donno2048/gitback - The easiest way to makes a backup of all your repositories and gists from GitHub using Python (python3)
README
# gitback
Makes a backup of all your repositories and gists from GitHub
## Install
(On Linux you'll need to use `sudo`)
### From PyPI
```sh
pip3 install gitback
```### From GitHub
```sh
pip3 install git+https://github.com/donno2048/gitback
```## Usage
You can also use `git backup` instead of `gitback`.
```py
usage: gitback [-h] [-n] [-P] [-s] [-f] [-z] [-q] [-u] [-p] [-r | -g]Makes a backup of all your repositories and gists from GitHub
optional arguments:
-h, --help show this help message and exit
-n, --name Use a custom name for your backup [default: backup]
-P, --path Use a custom path for your backup [default: current working directory]
-s, --ssh Use ssh cloning [default: http]
-f, --full Clone with full git history
-z, --zip Make a zip file of the backup
-q, --quiet Don't see cloning progress
-u, --username Your GitHub username
-r, --repos Backup only repos
-g, --gists Backup only gists
```### Example
Let's say I want to backup only my gists, and I want a zip file:
```sh
gitback -u donno2048 -g -z
```