3

I want to understand that is there any way to list all the repo which are created on github through cli/terminal.

I have more than 500 repo in my GitHub account. Need to list all the repo through cli

if yes then what is the command to do this.

torek
  • 448,244
  • 59
  • 642
  • 775

1 Answers1

2

You can list all owner's repos by using the GitHub CLI with the command:

gh repo list [owner] [flags]

I ended up using:

gh repo list --source --json name --limit 200 <account_name>

Since I wanted all of them in one go, skipping forks.

Lucat
  • 2,242
  • 1
  • 30
  • 41