#github #backup #git #cli

app github-backup

Backup all your GitHub repositories with a single command

3 releases

0.2.3 Feb 19, 2024
0.2.2 Jan 2, 2023
0.2.1 Dec 27, 2022

#21 in #backup

Download history 152/week @ 2024-02-19 41/week @ 2024-02-26 2/week @ 2024-03-11 67/week @ 2024-04-01

69 downloads per month

MIT license

16KB
308 lines

github-backup

Backup all your GitHub repositories with a single command

How to create a Github personal access token

  1. Go to https://github.com/settings/tokens
  2. Click on the "Generate new token" button
  3. Click on the "repo - Full control of private repositories" checkbox
  4. Click on the "Generate token" button
  5. Save your newly generated on a safe place, this will be the last time GitHub shows it to you

How to use

~ github-backup help
GitHub Backup 0.2.0
Adrian Tombu <adrian@otso.fr>
Backup all your GitHub repositories with a single command

USAGE:
    github-backup <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    config    Display the config file contents
    help      Print this message or the help of the given subcommand(s)
    init      Initialize the config file
    run       Run the GitHub backup

Dependencies

~10–27MB
~423K SLoC