github-backup(1)
π github-backup β the manual, but make it make sense π
okay so bestie, welcome to github-backup(1) from the General Commands Manual section of your friendly neighbourhood man pages. she's a little shell script with big main character energy and she is literally about to save ur whole GitHub life. π«Ά
β¨ NAME β¨
github-backup β backs up data from GitHub. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
github-backup [username|organization ...] [options]
look at her. so simple. so iconic. π
π¦ DESCRIPTION π¦
so github-backup is a simple tool u run inside a git repository that u already cloned from GitHub. and when i say it backs stuff up, i mean it backs up everything GitHub publishes about that repository, including:
- other branches
- tags
- forks
- issues
- comments
- wikis
- milestones
- pull requests
- watchers
like. all of it. she's thorough. she's giving archivist. she's giving "ur fave repo but in a bunker". π₯
alternately?? if u pass her the username of a GitHub user, she will check out, and back up, all that user's repositories, plus all the repositories that user is watching. no cap. (this also works if u pass the name of an organization on GitHub, so orgs get the same treatment π)
by default she runs without logging in to GitHub. if u want to log in, set GITHUB_OAUTH_TOKEN to an oath or personal access token.
β οΈ okay important bestie, read this twice: logging in only works around API rate limiting. it does not allow private repositories to be downloaded. that's the whole deal. don't @ me. π
π OPTIONS π
--exclude=username/repositoryβ when ur backing up a user or an organization, this lets u skip a particular repository belonging to that user or organization. u can specify this option any number of times to exclude more than one repository. stack em up babes. π--no-forksβ avoid backing up a repository's forks. that's it, she said no forks, periodt. π
π AUTHOR π
Joey Hess <id@joeyh.name> β the legend herself. respect the icon. π
<div style="text-align:center">πΈ π¦ π π«Ά π π₯ π π β π</div>
and that's the whole page bestie!! this lil masterpiece comes to u from the Commands manual, filed under github-backup(1). go back up ur repos, hydrate, and remember: logging in only fixes rate limiting, never private repos. slay. πβ¨π«Ά
π¦ where this page comes from
- ubuntu jammy: github-backup 1.20200721-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms