GitHub CLL
gh is GitHub CLI brings GitHub to your terminal.
Install
brew install ghConfiguration
# authenticate with your GitHub account
# Alternatively, gh will respect the GITHUB_TOKEN environment variable
gh auth login
# GitHub Enterprise
gh auth login --hostname <hostname>
# verify
gh auth status# Print a list of configuration keys and values
gh config list [flags]
# rint the value of a given configuration key
gh config get <key> [flags]
# Update configuration with a value for the given key
gh config set editor "code --wait"Usage
repos
alias
Miscellaneous
Extensions
See the list of available extensions at https://github.com/topics/gh-extension
Recommended Extensions
Usage
Viewing installed extensions
To install an extension in development from the current directory, use . as the value for the repository parameter.
Updating extensions
Uninstalling extensions
Extensions
Last updated
Was this helpful?