/gh-backup

Zero-config script to backup GitHub repos and gists

Primary LanguageShell

gh-backup

Tests

Zero-config script to backup GitHub repos and gists.

Requires GitHub CLI.

Usage

curl https://raw.githubusercontent.com/hoffa/gh-backup/main/gh-backup.sh | sh 

Which will create an archive in the form github-backup-<username>-<timestamp>.tar.gz.