An open API service indexing awesome lists of open source software.

https://github.com/tlinhart/github-backup

Bash script to backup GitHub repositories
https://github.com/tlinhart/github-backup

backup bash github

Last synced: about 2 months ago
JSON representation

Bash script to backup GitHub repositories

Awesome Lists containing this project

README

          

# GitHub backup

Simple Bash script to backup GitHub repositories locally. The script clones
both public and private repositories but excluding forks. It also tries to clone
wikis if available.

To use it, set `BACKUP_DIR` (default `backup`) and `GITHUB_TOKEN` environment
variables and run the script.

Dependencies:
- curl
- jq
- git