Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Transfer Github ORG

Clone the repo

backup

# Authenticate with GitHub
gh auth login

SOURCE_ORG=source_org_name

gh repo list $SOURCE_ORG --limit 1000 --json name,sshUrl -q ".[] | .sshUrl" | xargs -n1 git clone

Transfer to new Org

SOURCE_ORG=source_org_name
DEST_ORG=destination_org_name
# please use `Personal access tokens (classic)` for access both orgs in one GITHUB_TOKEN
GITHUB_TOKEN=your_github_token_source_org

./transfer-github.sh $SOURCE_ORG $DEST_ORG $GITHUB_TOKEN

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages