Skip to content
CLI
Manual
Release notes
Getting started
gh
alias
delete
import
list
set
api
attestation
download
trusted-root
verify
auth
login
logout
refresh
setup-git
status
switch
token
browse
cache
delete
list
codespace
code
cp
create
delete
edit
jupyter
list
logs
ports
ports forward
ports visibility
rebuild
ssh
stop
view
completion
config
clear-cache
get
list
set
extension
browse
create
exec
install
list
remove
search
upgrade
gist
clone
create
delete
edit
list
rename
view
gpg-key
add
delete
list
help
environment
exit-codes
formatting
mintty
reference
issue
close
comment
create
delete
develop
edit
list
lock
pin
reopen
status
transfer
unlock
unpin
view
label
clone
create
delete
edit
list
org
list
pr
checkout
checks
close
comment
create
diff
edit
list
lock
merge
ready
reopen
review
status
unlock
update-branch
view
project
close
copy
create
delete
edit
field-create
field-delete
field-list
item-add
item-archive
item-create
item-delete
item-edit
item-list
link
list
mark-template
unlink
view
release
create
delete-asset
delete
download
edit
list
upload
view
repo
archive
clone
create
delete
deploy-key
deploy-key add
deploy-key delete
deploy-key list
edit
fork
gitignore
gitignore list
gitignore view
license
license list
license view
list
rename
set-default
sync
unarchive
view
ruleset
check
list
view
run
cancel
delete
download
list
rerun
view
watch
search
code
commits
issues
prs
repos
secret
delete
list
set
ssh-key
add
delete
list
status
variable
delete
get
list
set
workflow
disable
enable
list
run
view
CLI manual
Getting started
gh
alias
delete
import
list
set
api
attestation
download
trusted-root
verify
auth
login
logout
refresh
setup-git
status
switch
token
browse
cache
delete
list
codespace
code
cp
create
delete
edit
jupyter
list
logs
ports
ports forward
ports visibility
rebuild
ssh
stop
view
completion
config
clear-cache
get
list
set
extension
browse
create
exec
install
list
remove
search
upgrade
gist
clone
create
delete
edit
list
rename
view
gpg-key
add
delete
list
help
environment
exit-codes
formatting
mintty
reference
issue
close
comment
create
delete
develop
edit
list
lock
pin
reopen
status
transfer
unlock
unpin
view
label
clone
create
delete
edit
list
org
list
pr
checkout
checks
close
comment
create
diff
edit
list
lock
merge
ready
reopen
review
status
unlock
update-branch
view
project
close
copy
create
delete
edit
field-create
field-delete
field-list
item-add
item-archive
item-create
item-delete
item-edit
item-list
link
list
mark-template
unlink
view
release
create
delete-asset
delete
download
edit
list
upload
view
repo
archive
clone
create
delete
deploy-key
deploy-key add
deploy-key delete
deploy-key list
edit
fork
gitignore
gitignore list
gitignore view
license
license list
license view
list
rename
set-default
sync
unarchive
view
ruleset
check
list
view
run
cancel
delete
download
list
rerun
view
watch
search
code
commits
issues
prs
repos
secret
delete
list
set
ssh-key
add
delete
list
status
variable
delete
get
list
set
workflow
disable
enable
list
run
view
gh search
Search across all of GitHub.
Available commands
gh search code
gh search commits
gh search issues
gh search prs
gh search repos
See also
gh