Skip to content

xtrafrancyz/gh-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Backup

It can only be used to clone all repositories in an organization. With subsequent runs it will fetch instead of clone.

Installation

Install git and Go. Then run:

go install https://github.com/xtrafrancyz/gh-backup@latest

Usage

Download all public repositories:

gh-backup --org EnterpriseQualityCoding --out ./my_org

Use an Access Token for private repositories:

GH_TOKEN="github_XXXXXX" gh-backup --org EnterpriseQualityCoding --out ./my_org

Releases

No releases published

Languages