跳至内容
CLI
手册
发布说明
入门
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
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 手册
入门
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
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 auth
使用 GitHub 验证 gh 和 git
可用命令
gh auth login
gh auth logout
gh auth refresh
gh auth setup-git
gh auth status
gh auth switch
gh auth token
另请参阅
gh