CmdID

CmdID / Commands

gh-repo

Work with GitHub repositories. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a new repository interactively

gh repo [newIdentify

Clone a repository

gh repo clone owner/repositoryIdentify

Fork and clone a repository

gh repo fork owner/repository --cloneIdentify

View a repository in the default web browser

gh repo view repository --webIdentify

List 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 ownerIdentify

List only non-forks repositories and limit the number of repositories to list (default: 30)

gh repo [ls owner --source --limit limitIdentify

List repositories with a specific primary coding language

gh repo [ls owner --language language_nameIdentify

Sync the current local repository with its upstream

gh repo syncIdentify