Skip to main content

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

Metadata

Release files for gitback 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitback 1.1.5
File Size Uploaded Provenance
gitback-1.1.5.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gitback 1.1.5
File Interpreter ABI Platform
gitback-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / gitback-1.1.5.tar.gz

Download URL gitback-1.1.5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f187e7e84fd3dd78071d96737a0d016869096b8e8ab2a5629e953443bfc1e994
BLAKE2b-256 checksum
How to use checksums
90f7c88f3072bf4dafdc78b4b9cdde31e8028d91309b4760606ac6a4df3346a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / gitback-1.1.5-py3-none-any.whl

Download URL gitback-1.1.5-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1113c875a602d347f47011ac0004c1412af05f33c2245bf20dad96cca90a3fe5
BLAKE2b-256 checksum
How to use checksums
b91f468693bd26728409ba739456b54e4bade710c47371a03087fdd933177390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for gitback 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page