Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

backup bash github

Last synced: 3 days 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