Back up your GitHub account locally using GitHub’s migration exports.
Download the binary for your platform from the GitHub Releases page.
- Windows: Add the executable to your
PATH. - macOS / Linux: Make it executable:
chmod +x ghbghb --helpTokens are resolved in this order:
--tokenGITHUB_BACKUP_TOKEN- GitHub device flow
Use --interval to run backups regularly.
Issues and pull requests are welcome.