Skip to content

Clone your GitHub's organization repos, issues and PRs

License

Notifications You must be signed in to change notification settings

afjoseph/clone_your_org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clone_your_org: Easy wrapper to clone your GitHub's organization repos, issues and PRs

Dependencies

  • Go version 1.6

Usage

go run . \
  -git_access_token=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
  -target_organization_name=twitter
  # Optionally, you can specify a directory to use with -backupDirPath. Else,
  one will be created at the root of the project

Getting an OAuth2 GitHub token

  • Go to https://github.com/settings/tokens
  • Click "Generate New Token"
  • You'll need the following permissions for this project to work: read:discussion, read:org, read:user, repo
    • Most probably you need less permissions, but I haven't tested it that granularly

About

Clone your GitHub's organization repos, issues and PRs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages