General
The workflow uses OAuth and background caching.
Commands
To search through your GitHub Enterprise
instance replace gh by
ghe.
Repo commands
gh user/repogh user/repo #123gh user/repo @branchgh user/repo *commit-
gh user/repo /path/to/file gh user/repo admingh user/repo clonegh user/repo graphsgh user/repo issues-
gh user/repo milestones gh user/repo network-
gh user/repo new issue -
gh user/repo new pull gh user/repo pullsgh user/repo pulse-
gh user/repo releases gh user/repo wiki
User commands
gh @usergh @user overview-
gh @user repositories gh @user starsgh @user gists
Search commands
gh s repogh s @user
"My" commands
gh my dashboardgh my notificationsgh my profilegh my issuesgh my issues created-
gh my issues assigned -
gh my issues mentioned gh my pullsgh my pulls createdgh my pulls assigned-
gh my pulls mentioned gh my reposgh my settingsgh my starsgh my gists
Workflow commands
gh > logingh > logoutgh > delete cachegh > delete databasegh > update-
gh > activate autoupdate -
gh > deactivate autoupdate gh > helpgh > changelog-
ghe > url(GitHub Enterprise only) -
ghe > generate token(GitHub Enterprise only) -
ghe > enterprise reset(GitHub Enterprise only)

