gh-alias

Manage GitHub CLI command aliases from the command line.

TLDR

Display the subcommand help

$ gh alias
copy

List all of 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

Copied to clipboard
Earn up to $40 for learning about crypto currencies