Skip to content

Clone all you GitHub repos with GitHub Cli/api.

Notifications You must be signed in to change notification settings

kdpuvvadi/gclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

gclone

Clone all your GitHub repos including public and private with GitHub cli gh.

Install gh

Homebrew

brew install gh

Windows

winget install --id GitHub.cli

GitHub Authentication

To authenticate gh with GitHub

gh auth login

Complete the prompts to complete the authentication.

To login with scoped token

gh auth login --with-token $GH_TOKEN

Check auth status

$ gh auth status
github.com
  ✓ Logged in to github.com as kdpuvvadi (oauth_token)
  ✓ Git operations for github.com configured to use ssh protocol.
  ✓ Token: *******************

Run

Windows powershell

./clone_all.ps1

Powershell core

With Powershell core, this tool be can used on all the platforms.

pwsh .\clone_all.ps1

About

Clone all you GitHub repos with GitHub Cli/api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published