gh-alias

Manage GitHub CLI command aliases from the command line.

TLDR

Display the subcommand help

$ gh alias
copy

List all the aliases gh is configured to use

$ gh alias list
copy

Create a gh subcommand alias

$ gh alias set [pv] '[pr view]'
copy

Set a shell command as a gh subcommand

$ gh alias set --shell [alias_name] [command]
copy

Delete a command shortcut

$ gh alias delete [alias_name]
copy

SYNOPSIS

gh alias <command> [flags]

DESCRIPTION

Aliases can be used to make shortcuts for gh commands or to compose multiple commands.

Run "gh help alias set" to learn more.

COMMANDS

gh-alias-delete(1)

Delete an alias

gh-alias-list(1)

List your aliases

gh-alias-set(1)

Create a shortcut for a gh command

SEE ALSO

gh(1)

Copied to clipboard
coinbase