Clones all your repositories to your local machine
Go to file
Berkus Decker 4a932c6dfa
Add cloning all stars
Ignores errored repos (due to removal, DMCA takedowns, etc)
2018-06-05 22:47:42 +03:00
.editorconfig Add image 2018-06-04 16:34:47 +03:00
.gitignore Add image 2018-06-04 16:34:47 +03:00
LICENSE Upload files 2018-06-04 15:54:05 +03:00
README.md Update README.md 2018-06-04 18:47:17 +03:00
backup.sh Add cloning all stars 2018-06-05 22:47:42 +03:00

README.md

Backup My GitHub Profile

Clones all your GitHub public repositories to your machine

1

Prerequisites

  • curl
  • jq

Using

Before starting the script, you need to generate personal access token on GitHub (with full repo access). Follow this guide - link

Afterwards, navigate to the folder, where you want to store repos:

mkdir -p /some/path/to/folder/with/backups
cd /some/path/to/folder/with/backups

Run the script:

bash <(curl -s https://raw.githubusercontent.com/RomaniukVadim/backup-my-github/master/backup.sh)

License

DWTFYWT