gh alias set <alias> <expansion>
Set an alias for a gh command
Arguments
| Name | Description |
|---|---|
alias | A word that will expand to the gh command |
expansion | The gh command to be invoked, more info with --help |
Options
| Name | Description |
|---|---|
-s, --shell | Declare an alias to be passed through a shell interpreter |