Skip to main content

Makes a backup of all your repositories and gists from GitHub

Project description

gitback

Makes a backup of all your repositories and gists from GitHub

Install

(On Linux you'll need to use sudo)

From PyPI

pip3 install gitback

From GitHub

pip3 install git+https://github.com/donno2048/gitback

Usage

You can also use git backup instead of gitback.

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:

gitback -u donno2048 -g -z

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitback-1.1.5.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

gitback-1.1.5-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page