NAME
gh-repo - Manage repositories
SYNOPSIS
gh repo <command> [flags]
DESCRIPTION
Work with GitHub repositories.
GENERAL COMMANDS
- gh-repo-create(1)
-
Create a new repository
- gh-repo-list(1)
-
List repositories owned by user or organization
TARGETED COMMANDS
- gh-repo-archive(1)
-
Archive a repository
- gh-repo-autolink(1)
-
Manage autolink references
- gh-repo-clone(1)
-
Clone a repository locally
- gh-repo-delete(1)
-
Delete a repository
- gh-repo-deploy-key(1)
-
Manage deploy keys in a repository
- gh-repo-edit(1)
-
Edit repository settings
- gh-repo-fork(1)
-
Create a fork of a repository
- gh-repo-gitignore(1)
-
List and view available repository gitignore templates
- gh-repo-license(1)
-
Explore repository licenses
- gh-repo-read-dir(1)
-
List a directory in a repository (preview)
- gh-repo-read-file(1)
-
Read a file from a repository (preview)
- gh-repo-rename(1)
-
Rename a repository
- gh-repo-set-default(1)
-
Configure default repository for this directory
- gh-repo-sync(1)
-
Sync a repository
- gh-repo-unarchive(1)
-
Unarchive a repository
- gh-repo-view(1)
-
View a repository
EXIT CODES
0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
EXAMPLE
$ gh repo create $ gh repo clone cli/cli $ gh repo view --web