Options (5)
booleanCreate a new repository interactively
Example:
gh repo {{[new|create]}}-w, --webbooleanView a repository in the default web browser
Example:
gh repo view {{repository}} {{[-w|--web]}}booleanList repositories owned by a specific user or organization (if the owner is not set, the default owner will be the currently logged in user)
Example:
gh repo {{[ls|list]}} {{owner}}-L, --limitbooleanList only non-forks repositories and limit the number of repositories to list (default: 30)
Example:
gh repo {{[ls|list]}} {{owner}} --source {{[-L|--limit]}} {{limit}}-l, --languagebooleanList repositories with a specific primary coding language
Example:
gh repo {{[ls|list]}} {{owner}} {{[-l|--language]}} {{language_name}}Examples (8)
Create a new repository interactively
gh repo [new|create]Clone a repository
gh repo clone owner/repositoryFork and clone a repository
gh repo fork owner/repository --cloneList repositories owned by a specific user or organization (if the owner is not set, the default owner will be the currently logged in user)
gh repo [ls|list] ownerList only non-forks repositories and limit the number of repositories to list (default: 30)
gh repo [ls|list] owner --source [-L|--limit] limitList repositories with a specific primary coding language
gh repo [ls|list] owner [-l|--language] language_namemade by @shridhargupta | data from tldr-pages