Skip to content

Bash script to backup GitHub repositories

Notifications You must be signed in to change notification settings

tlinhart/github-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Bash script to backup GitHub repositories

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages