Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 559 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 559 Bytes

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