Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 719 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 719 Bytes

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