GitHub - hoffa/gh-backup: Zero-config script to backup GitHub repos and gists

· GitHub

1 min read Original article ↗

Repository files navigation

Zero-config script to backup your GitHub repos, gists, and repos of organizations that you belong to.

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.