gh alias set <alias> <expansion>

Set an alias for a gh command

Arguments

NameDescription
aliasA word that will expand to the gh command
expansionThe gh command to be invoked, more info with --help

Options

NameDescription
-s, --shellDeclare an alias to be passed through a shell interpreter