GH Joe is a managed list of GitHub CLI aliases.
Main idea is that each command should be represented by shortest possible sequence of characters (an alias) where the alias does not have to be remembered but it can be mnemotechnically derived from the full command.
For a full list of aliases please see aliases.yml.
Import list of aliases to your GitHub CLI config file:
curl https://raw.githubusercontent.com/josefpihrt/ghjoe/main/aliases.yml | gh alias import -
Import list of aliases to your GitHub CLI config file and overwrite existing values:
curl https://raw.githubusercontent.com/josefpihrt/ghjoe/main/aliases.yml | gh alias import --clobber -
Alias | Command |
---|---|
a |
alias |
b |
browse |
c |
codespace |
e |
release |
g |
gist |
h |
auth |
i |
issue |
j |
project |
k |
cache |
l |
label |
n |
run |
o |
config |
p |
pr |
r |
repo |
s |
search |
t |
secret |
u |
status |
v |
variable |
w |
workflow |
x |
extension |
Each alias is created according to several simple rules:
-
Each root command is represented by a single letter.
- For example
issue
is represented byi
.
- For example
-
Each subcommand/parameter/value is represented by combination of first letter of words it consists of.
- For example subcommand
delete-asset
is represented byda
. - For example parameter
--exclude-pre-releases
is represented byepr
.
- For example subcommand
-
Parameters are sorted in alphabetical order.
- For example command
pr create --assignee @me --draft --title
is represented bypcamdt
.
- For example command